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 had the following entities in my project. Site [ValidateLength(0, 100)] [EagerLoad] Country [ValidateLength(0, 20)] [ReverseAssociation("CountryCode")]
In database, the relationships of tables are these: Check Existing Data On Creation Or Re-enabling - No
Here's the scenario, If I try set a "null" value to CountryCodeId property in Site object it throws an error, "Country Code is required" where in CountryCode was set to allow null in schema. Any idea? |
|
|
This is an error in our handling of foreign keys of type string. I've committed a fix and it will be included in the 17 July nightly, available from about 1430 GMT. Please let us know if you still see problems, or run into any knock-on effects. |
|
|
Thanks Ivan. Yes, I will let you know.
|
|
|
Hi Ivan, I've got this error when I retrieve a record, "The given key was not present in the dictionary". I'm using the 17 July nightly build. Actually even my other code the retrieve a record throw this error. |
|
|
Could you provide us with a small console application project and SQL scripts for the tables and sample data so we can reproduce this problem? Thanks! |
|