Upraviť

Zdieľať cez


DatabaseGeneratedAttribute(DatabaseGeneratedOption) Constructor

Definition

Initializes a new instance of the DatabaseGeneratedAttribute class.

public:
 DatabaseGeneratedAttribute(System::ComponentModel::DataAnnotations::Schema::DatabaseGeneratedOption databaseGeneratedOption);
public DatabaseGeneratedAttribute (System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption databaseGeneratedOption);
new System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedAttribute : System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption -> System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedAttribute
Public Sub New (databaseGeneratedOption As DatabaseGeneratedOption)

Parameters

databaseGeneratedOption
DatabaseGeneratedOption

The database generated option.

Applies to