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 I have an SQL error being generated during a Delete The multi-part identifier "t0.Level1Id" could not be bound My model is defined as follows: Abstract Base Entity: ReferenceData, SoftDelete set to True STI Inheritance (ReferenceData): Level1 STI Inheritance (ReferenceData): Level2 Level1 has One To Many association with Level2, and is nullable
When I try to delete a Level2 entity, I get the above SQL error
Can you help ?
Thanks in advance,
Patrick |
|
|
Hi Patrick, I can't reproduce the problem from the model as described. It sounds like there may be a cascade delete going on other than what you've mentioned. Could you provide us with a console application that reproduces the error using a minimal, stripped-down model (only the classes required to exhibit the error)? Thanks! |
|
|
Hi Ivan
I will send you an app to your support email
Cheers
Patrick |
|
|
Thanks for the very clean and simple repro. The issue was with a cascading soft delete that we should not have been issuing. I've committed a candidate fix and it will be in the next nightly build. Let us know if you still see problems! |
|