DatabaseGeneratedAttribute(DatabaseGeneratedOption) Constructor

Definición

Inicializa una nueva instancia de la clase 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

Opción generada por la base de datos

Se aplica a