Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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.
See Also
Concepts
Other Resources
How to: Customize Entity Classes by Using the Code Editor (LINQ to SQL)