score:2

soft delete pattern for entity framework has been discussed on so and the accepted solution is described here

http://www.wiktorzychla.com/2013/10/soft-delete-pattern-for-entity.html

the trick is to define your isdeleted as a discriminator column so that ef automatically appends filtering subqueries.


Related Query

More Query from same tag