DatabaseGeneratedAttribute(DatabaseGeneratedOption) Construtor

Definição

Inicializa uma nova instância da classe DatabaseGeneratedAttribute.

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)

Parâmetros

databaseGeneratedOption
DatabaseGeneratedOption

A opção gerada no banco de dados.

Aplica-se a