DatabaseGeneratedOption Enumeration
The pattern used to generate values for a property in the database.
Namespace: System.ComponentModel.DataAnnotations
Assembly: EntityFramework (in EntityFramework.dll)
Syntax
'Declaration
Public Enumeration DatabaseGeneratedOption
'Usage
Dim instance As DatabaseGeneratedOption
public enum DatabaseGeneratedOption
public enum class DatabaseGeneratedOption
type DatabaseGeneratedOption
public enum DatabaseGeneratedOption
Members
Member name | Description | |
---|---|---|
None | The database does not generate values. | |
Identity | The database generates a value when a row is inserted. | |
Computed | The database generates a value when a row is inserted or updated. |
See Also
Reference
System.ComponentModel.DataAnnotations Namespace