MaxLengthAttributeConvention MaxLengthAttributeConvention 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 MaxLengthAttributeConvention : PropertyAttributeConvention<MaxLengthAttribute>, IPropertyConvention, IPropertyFieldChangedConvention
Public Class MaxLengthAttributeConvention
    Inherits PropertyAttributeConvention(Of MaxLengthAttribute)
    Implements IPropertyConvention, IPropertyFieldChangedConvention
Inheritance
System.ObjectSystem.Object
PropertyAttributeConvention<System.ComponentModel.DataAnnotations.MaxLengthAttribute>PropertyAttributeConvention(Of System.ComponentModel.DataAnnotations.MaxLengthAttribute)
MaxLengthAttributeConventionMaxLengthAttributeConvention
Implements

Methods

Apply(InternalPropertyBuilder) Apply(InternalPropertyBuilder)

Inherited from Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.PropertyAttributeConvention<System.ComponentModel.DataAnnotations.MaxLengthAttribute>

Apply(InternalPropertyBuilder, FieldInfo) Apply(InternalPropertyBuilder, FieldInfo)

Inherited from Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.PropertyAttributeConvention<System.ComponentModel.DataAnnotations.MaxLengthAttribute>

Apply(InternalPropertyBuilder, MaxLengthAttribute, MemberInfo) Apply(InternalPropertyBuilder, MaxLengthAttribute, 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, MaxLengthAttribute attribute, MemberInfo clrMember)
Public Overrides Function Apply(propertyBuilder As InternalPropertyBuilder, attribute As MaxLengthAttribute, clrMember As MemberInfo) As InternalPropertyBuilder
Parameters
attribute
System.ComponentModel.DataAnnotations.MaxLengthAttribute System.ComponentModel.DataAnnotations.MaxLengthAttribute
clrMember
System.Reflection.MemberInfo System.Reflection.MemberInfo
Returns
Overrides
Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.PropertyAttributeConvention<System.ComponentModel.DataAnnotations.MaxLengthAttribute>.Apply(Microsoft.EntityFrameworkCore.Metadata.Internal.InternalPropertyBuilder, System.ComponentModel.DataAnnotations.MaxLengthAttribute, System.Reflection.MemberInfo)Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.PropertyAttributeConvention<System.ComponentModel.DataAnnotations.MaxLengthAttribute>.Apply(Microsoft.EntityFrameworkCore.Metadata.Internal.InternalPropertyBuilder, System.ComponentModel.DataAnnotations.MaxLengthAttribute, System.Reflection.MemberInfo)

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object