DatabaseGeneratedOption Enumeration

The pattern used to generate values for a property in the database.

Namespace:  System.ComponentModel.DataAnnotations.Schema
Assembly:  System.ComponentModel.DataAnnotations (in System.ComponentModel.DataAnnotations.dll)

'Declaration
Public Enumeration DatabaseGeneratedOption

Member nameDescription
NoneThe database does not generate values.
IdentityThe database generates a value when a row is inserted.
ComputedThe database generates a value when a row is inserted or updated.

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: