We're adding some views to our entity framework model. Some fields in these views are nullable datetime2 datatypes in our sql server 2k8 db and the edmx is incorrectly showing these fields as being not null. Is this a known issue?
When I try to change them to not null it still throws the same error - because it appears as if the ssdl is defining it differently?
Has anyone run into this problem?
Edit: My exact error is:
The 'dateTimeAffected' property on 'V_myView' could not be set to a 'null' value. You must set this property to a non-null value of type 'DateTime'
Removing the view and adding it back in does not fix it as well... still marks the field as not nullable.