This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
It could be nice to turn on/off use of SoftDelete at Model-Level, without changing db or entities... Example: LightSpeedContext.Default.SoftDelete = false; |
|
|
Due to the convention we use for indicating soft-delete (the presence of a "DeletedOn" field), this probably isn't terribly easy for us to do in the short term. It can be accomplished by using a base class with a DeletedOn field, which of course ties back into your earlier suggestion of being able to specify a default base class in the designer and in lsgen.exe. But it's a nice idea and we've logged it for the future. Thanks! |
|
|
Did this ever get added? It would present a workaround for http://www.mindscapehq.com/forums/thread/367085#1736354 |
|
|
No this has not been added. We are not planning to make any changes here either as you can cover this by specifying a DeletedOn field in a base class to allow it to apply to all its derivatives.
|
|