LINQ’s ForEach() Method

If you’re like me, you’ve often grumbled about the inefficiency of deleting related records from a child entity via EF.  For example:   In the above example, if I try to delete the Employee Entity that has a key of 1, EF will throw a “Foreign Constraint Violation” exception (as it should).  And, yes, I […]

Read More LINQ’s ForEach() Method