Soft Deletes with Entity Framework Core 2 - Part 1

added by Paul Wheeler
1/22/2018 2:23:48 PM

2 Kicks, 406 Views

Entity Framework Core 2, already covered here, includes a cool feature called global filters. By leveraging global filters, we can apply restrictions automatically to entities, either loaded directly or through a collection reference. If we add this to shadow properties (in the case of relational databases, columns that exist in a table but not on the POCO model), we can do pretty cool stuff.


0 comments