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

Inherited Members

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

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