DatabaseGeneratedAttribute Constructor (DatabaseGeneratedOption)
Initializes a new instance of the DatabaseGeneratedAttribute class.
Assembly: System.ComponentModel.DataAnnotations (in System.ComponentModel.DataAnnotations.dll)
Parameters
- databaseGeneratedOption
-
Type:
System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption
The database generated option.
Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms