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 a Person table, with a corresponding Person class, and an Athlete table, which is a subtype of Person, with an Athlete class which inherits person. All set up using ClassTable inheritance. At this stage, my Athlete table doesn't contain any fields in addition to those of the Person table. When I make changes to a person class, attach the changed entity to my unit of work, and call SaveChanges, I get a SqlException. The generated SQL looks like this:
Obviously t's not a very real-world scenario, but it's not a very friendly way for it to fail. Just thought I'd mention it. :) Cheers, B |
|
|
Thanks for letting us know about this! It will be fixed in nightly builds beginning 20 July. |
|