DatabaseGeneratedAttributeConvention.Apply Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
public override void Apply (System.Data.Entity.ModelConfiguration.Configuration.ConventionPrimitivePropertyConfiguration configuration, System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedAttribute attribute);
override this.Apply : System.Data.Entity.ModelConfiguration.Configuration.ConventionPrimitivePropertyConfiguration * System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedAttribute -> unit
Public Overrides Sub Apply (configuration As ConventionPrimitivePropertyConfiguration, attribute As DatabaseGeneratedAttribute)
Параметры
- configuration
- ConventionPrimitivePropertyConfiguration
- attribute
- DatabaseGeneratedAttribute