Share via


DatabaseGeneratedAttributeConvention Class

Definition

Convention to process instances of DatabaseGeneratedAttribute found on properties in the model.

public class DatabaseGeneratedAttributeConvention : System.Data.Entity.ModelConfiguration.Conventions.PrimitivePropertyAttributeConfigurationConvention<System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedAttribute>
type DatabaseGeneratedAttributeConvention = class
    inherit PrimitivePropertyAttributeConfigurationConvention<DatabaseGeneratedAttribute>
Public Class DatabaseGeneratedAttributeConvention
Inherits PrimitivePropertyAttributeConfigurationConvention(Of DatabaseGeneratedAttribute)
Inheritance
Inheritance
DatabaseGeneratedAttributeConvention

Constructors

DatabaseGeneratedAttributeConvention()

Methods

Apply(ConventionPrimitivePropertyConfiguration, DatabaseGeneratedAttribute)

Applies this convention to a property that has an attribute of type TAttribute applied.

Apply(ConventionPrimitivePropertyConfiguration, TAttribute)

Applies this convention to a property that has an attribute of type TAttribute applied.

(Inherited from PrimitivePropertyAttributeConfigurationConvention<TAttribute>)
Properties()

Begins configuration of a lightweight convention that applies to all properties in the model.

(Inherited from Convention)
Properties<T>()

Begins configuration of a lightweight convention that applies to all primitive properties of the specified type in the model.

(Inherited from Convention)
Types()

Begins configuration of a lightweight convention that applies to all mapped types in the model.

(Inherited from Convention)
Types<T>()

Begins configuration of a lightweight convention that applies to all mapped types in the model that derive from or implement the specified type.

(Inherited from Convention)

Applies to