DatabaseGeneratedAttribute Constructor
Collapse the table of content
Expand the table of content

DatabaseGeneratedAttribute Constructor

Initializes a new instance of the DatabaseGeneratedAttribute class.

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

public DatabaseGeneratedAttribute(
	DatabaseGeneratedOption databaseGeneratedOption
)

Parameters

databaseGeneratedOption
Type: System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption
The pattern used to generate values for the property in the database.

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:
© 2016 Microsoft