How can I softdelete a row?

Posts   
 
    
adamsane
User
Posts: 1
Joined: 25-Sep-2008
# Posted on: 25-Sep-2008 15:26:08   

I have inherited a project that uses LLBLGen Pro for the DB layer. The DB model requires that when a entry is deleted a flag (DeletedDate is set to the current time). The last programmer ignored this requirement and has used regular deletes throughout the entire application.

Is there a way to set the code generator to do this automatically or do I have to overload each delete operator for the Entities that requires it?

Walaa avatar
Walaa
Support Team
Posts: 14993
Joined: 21-Aug-2005