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
|
Hi again, *sigh* - last one for this evening i promise. When I sync the model to db, I have a uniqueness validator on a entity property. The entity is marked for soft delete. So in the db i have a unique index on the table - unique for Property and DeletedOn. If I don't include DeletedOn in the index then of course it blows up when I try and add a new entity with the same Property to the table. I'm guessing the model sync is not figuring out that I require the unique index to ref DeletedOn and therefore not recognising that the Property is backed by the correct db object for the unique validation... is this something that could be fixed? thanks
|
|