Forgive me if this is the incorrect place to post this question - but i've searched through the forum and been unsuccessful in finding an answer to my problem.
We recently upgraded our DAL from version 1 to version 3.
In doing so, we've had a fair share of challenges but it's gone pretty smoothly. Yesterday we just ran into a big problem which i'm hoping someone will be able to help with.
When saving a new entity, we're getting errors because a column doesn't allow NULL's - but the column has a default value in our SQL database.
I did see that in the migrating code section for version 2, it says the following:
"• An entity field's CurrentValue property is now set to null/Nothing by default, not to a default value anymore. Also, when a field is read from the database and the value appears to be NULL, the CurrentValue property is set to null/Nothing. "
Is there any way to work around this/an option to turn on to make the entity have a default value for the columns that should have a default value?
Thanks for any help.