The 'ForeclosureShortsaleDate' property on 'Account' could not be set to a 'null' value. You must set this property to a non-null value of type 'System.DateTime'.
This is happening when I am pulling a record from the context. I have removed many fields from the model that have generated this error because I don't need them anyway but this is not ideal. Especially of the model needs to be recreated, Can anyone explain this to me? All of the columns in question have the Nullable property set to true.
Additional Info:
Template: DBContext
I can't say that the updated version is the issue because I don't know what the Salesforce team are doing in the Sandbox but this context worked properly last week by pulling and pushing data into the sandbox. Up until till this point there have been no model changes on my end. Any help would be appreciated.
UPDATE:
I created a clean and fresh model and I get the same results.
UPDATE: I believe it is indeed Devart Entity Developer. I checked the last version in version control and this is what the property looked like before version 6.3.569
Code: Select all
/// <summary>
/// There are no comments for BillingLatitude in the schema.
/// </summary>
public virtual global::System.Nullable<double> BillingLatitude
{
get;
set;
}
Code: Select all
/// <summary>
/// There are no comments for BillingLatitude in the schema.
/// </summary>
public virtual global::System.Double BillingLatitude
{
get;
set;
}
UPDATE:
The problem is version 6.3.569 of Entity Developer. The Model Generation is not working properly.
this is the results from 6.3.555
Code: Select all
/// <summary>
/// There are no comments for BillingLatitude in the schema.
/// </summary>
public virtual global::System.Nullable<double> BillingLatitude
{
get;
set;
}