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
|
Hello, See attached model. The following code fails to create a Person: var context = new LightSpeedContext<PartyUnitOfWork>(); The message is "SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM.". From the logs it seems to be an issue with inheritance. I downloaded a nightly build of the express version. The assembly version is 4.0.551.17906. I was hoping the issue described in this post was fixed. Changing the subclasses of the SecurityToken, Party and Address not to use soft deletes and update time stamps fixes it. Due to a "default policy" the those fields are always set and needs to be manually turned off. It would be best if it just worked without requiring my involvement. Thanks, Werner
|
|
|
Hello Werner, This is a known issue when the special tracking fields are set at multiple levels of the hierarchy (in fact I think it was you who originally reported it). We haven't yet fixed this but I'll see if I can get it done in the next couple of days. |
|
|
Now that you mentioned it, I just noticed that its an exact duplicate of the other issue. Sorry about that. Werner |
|
|
Hello Werner, This issue should be resolved in the next nightly build (we will suppress the generation of the redundant special fields on STI derived types). Please let us know if you still see problems. |
|
|
Thanks Ivan. That was really quick. |
|