override delete function in entity framework

Posted by k0ni on Stack Overflow See other posts from Stack Overflow or by k0ni
Published on 2010-04-30T12:43:22Z Indexed on 2010/04/30 12:47 UTC
Read the original article Hit count: 279

How can i make my own delete method to prevent that the data really gets deleted? i want to set a datetime field when it gets deleted insted of a normal delete.

i read about overriding the submitchanges function, but i don't get it to work

thanks

© Stack Overflow or respective owner

Related posts about entity

Related posts about entity-framework