How do I get the entity framework to work with archive flags?
Posted
by Orion Adrian
on Stack Overflow
See other posts from Stack Overflow
or by Orion Adrian
Published on 2010-03-25T17:33:51Z
Indexed on
2010/03/25
17:53 UTC
Read the original article
Hit count: 415
I'm trying to create a set of tables where we don't actually delete them, but rather we set the archive flags instead. When we delete an entity, it shouldn't be deleted, it should be marked as archived instead.
What are the programming patterns to support this?
I would also prefer not to have to roll out my own stored procs for every table that have these archive flags if there is another solution.
© Stack Overflow or respective owner