Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Use the LINQ to SQL IsDbGenerated property on the ColumnAttribute attribute to designate a field or property as representing a database-generated column.
For code examples, see IsDbGenerated.
To designate a field or property as representing a database-generated column
Add the IsDbGenerated property to the ColumnAttribute attribute.
Set the property value to
true
.