Database​Generated​Attribute​Convention Database​Generated​Attribute​Convention Class

Definition

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public class DatabaseGeneratedAttributeConvention : PropertyAttributeConvention<DatabaseGeneratedAttribute>, IPropertyConvention, IPropertyFieldChangedConventionPublic Class DatabaseGeneratedAttributeConvention
    Inherits PropertyAttributeConvention(Of DatabaseGeneratedAttribute)
    Implements IPropertyConvention, IPropertyFieldChangedConvention
Inheritance
System.ObjectSystem.Object
PropertyAttributeConvention<System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedAttribute>PropertyAttributeConvention(Of System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedAttribute)
DatabaseGeneratedAttributeConventionDatabaseGeneratedAttributeConvention
Implements

Inherited Members

Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.PropertyAttributeConvention{System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedAttribute}

System.Object

System.Object.ToString()System.Object.ToString()
System.Object.Equals(System.Object)System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()System.Object.GetHashCode()
System.Object.GetType()System.Object.GetType()
System.Object.MemberwiseClone()System.Object.MemberwiseClone()

Methods

Apply(InternalPropertyBuilder, DatabaseGeneratedAttribute, MemberInfo) Apply(InternalPropertyBuilder, DatabaseGeneratedAttribute, MemberInfo)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public override InternalPropertyBuilder Apply(InternalPropertyBuilder propertyBuilder, DatabaseGeneratedAttribute attribute, MemberInfo clrMember)Public Overrides Function Apply(propertyBuilder As InternalPropertyBuilder, attribute As DatabaseGeneratedAttribute, clrMember As MemberInfo) As InternalPropertyBuilder
Parameters
attribute
System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedAttribute System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedAttribute
clrMember
System.Reflection.MemberInfo System.Reflection.MemberInfo
Returns
Overrides
Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.PropertyAttributeConvention<System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedAttribute>.Apply(Microsoft.EntityFrameworkCore.Metadata.Internal.InternalPropertyBuilder, System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedAttribute, System.Reflection.MemberInfo)Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.PropertyAttributeConvention<System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedAttribute>.Apply(Microsoft.EntityFrameworkCore.Metadata.Internal.InternalPropertyBuilder, System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedAttribute, System.Reflection.MemberInfo)