
…ems to be all anyone can see. Still, we don’t need to be hindered by entities, no matter how large. Passing an anonymous type to an EF query will cause EF to only select the fields you defined. That monster table that is dozens of columns and “can’t be refactored” can be chopped down to the 3…
Unlike if let statements, any variables or constants that were assigned values using an optional binding as part of the condition are available for the rest of the code block that the guard statement appears in.