LINQ to SQL: filter nested objects with soft deletes
- by Alex
Hello everyone,
I'm using soft deleting in my database (IsDeleted field). I'm actively using LoadWith and AssociateWith methods to retrieve and filter nested records.
The thing is AssociateWith only works with properties that represents a one-to-many relationship.
DataLoadOptions loadOptions = new DataLoadOptions();…