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 have another situation where incorrect SQL is being generated. This time it is a little complicated (One of the classes involves Class Table Inheritance) Derived IS A Base Base HAS Many Children (http://www.freeimagehosting.net/l9bed.jpg) and the following LINQ query
the following SQL is generated (by the SQL2008 provider)
So, you can see it has assumed the properties of the derived table are part of the base table (maybe code is mixed up with STI?) Cheers, Andy |
|
|
Hi Andy, It appears that subexpressions did not have any specific handling of CTI structures so this is the cause of the issue you are seeing. I have added in some initial support for this that will be in the next nightly build. I still need to add in some more tests etc but let me know if you run into any issues over the next few days.
|
|
|
Thanks Jeremy, will do. When do nightlies go live by the way? |
|
|
Midnight NZ time (give or take a few minutes) |
|
|
Hi Guys New nightly has fixed the problem we were experiencing. Great work! |
|