I have a table that has the DataRegistro
field of type Datetime
.
I am using EntityFramework to generate the database ( I am not using the code first ) and I am adding the Computed property so that the column is populated automatically, but I still get error message when trying insert a new object.
I would like to resolve directly from EF without having to add scripts / trigger to the database to correct the problem.