ColumnAttribute.IsDbGenerated Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets whether a column contains values that the database auto-generates.
Assembly: System.Data.Linq (in System.Data.Linq.dll)
IsDbGenerated members are synchronized immediately after the row of data is inserted, and the members are available after SubmitChanges is completed.
Note: |
|---|
If the column holds primary key values and you designate IsDbGenerated as true, you should also add the DbType property by using the IDENTITY modifier. |
Note: