You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have designed our application to include the notion of soft-deleting Entities. e.g. a IsDeleted flag on the Entity indicates that it is soft-deleted whereas a hard-delete does a physical delete on the data in the database.
Are there any extension points when using Include's that would allow us to filter out soft-deleted Entities from result sets?
Example:
var employees = employeeService.FindAll().Include(e => e.Address)
In the above example, employeeService's FindAll method filters soft-deleted data at the top level but it would be nice to have an unobtrusive way to filter Addresses to return only non soft-deleted rows.
The text was updated successfully, but these errors were encountered:
@rowanmiller@Bartmax
Do you know what happened to issue #1833?
I get 404, but I know there was such an issue (I got email notifications for that issue, and this one was closed as a duplicate of it) and as AFAIK GitHub doesn't provide an API for deleting issues.
Anyway, both me and @Bartmax asked how can we do stuff like
We have designed our application to include the notion of soft-deleting Entities. e.g. a IsDeleted flag on the Entity indicates that it is soft-deleted whereas a hard-delete does a physical delete on the data in the database.
Are there any extension points when using Include's that would allow us to filter out soft-deleted Entities from result sets?
Example:
In the above example, employeeService's FindAll method filters soft-deleted data at the top level but it would be nice to have an unobtrusive way to filter Addresses to return only non soft-deleted rows.
The text was updated successfully, but these errors were encountered: