Does EF 4 have built in audit / logical delete support? After using SubSonic and getting use to how nicely this was handled automagically I was hoping I might have the same luck with EF 4 but haven't found any documentation.
+2
A:
Not built in, no. You could build an audit feature fairly easily with the tracing provider. For soft deletes, you can handle ObjectContext.SavingChanges()
to change a delete to an update and filter "deleted" records at the data service layer.
Craig Stuntz
2010-09-27 14:11:46
thanks - I was hoping I could be lazy!
Slee
2010-09-27 16:02:50