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
|
I just downloaded the latest nightly to see if this was fixed and it isnt (not that you know about it). This is driving my crazy and I am stuck when I run this code inside my entity(or outside with the UnitOfWork I have a reference to) if(this.EntityState != EntityState.Deleted && this.UnitOfWork != null) The entity is not saved to the Database at all. the DeletedOn field remains null. EntityState is changed to Deleted. The only ouput in the output window is from two Dependent Associations SELECT |
|
|
This seems to only happen when the Entity trying to be deleted is Dependent on another Entity and that Entity Has already been deleted. I think I set the Dependent Property of the Association after some of the Parents had already been deleted and left some children behind. |
|
|
I removed the Dependant Flag and they still would not Delete. |
|
|
Hi MiddleTommy :) Would be keen to investigate this one - would you be able to provide a small repro example for this and then we can track it down :)
Cheers! |
|