I have a USER table in database. The table has a RegistrationDate column which has a default constraint as GETDATE().
When using LINQ, I don\'t provide any data for
I am not 100% sure, but you could make the property read-only in the DBML designer.
Set Auto Generated Value property to true in the designer.
Auto Generated Value
true
Or IsDbGenerated="true" in .dbml file.
IsDbGenerated="true"
.dbml