MaxLengthAttributeConvention Class
TOC
Collapse the table of content
Expand the table of content

MaxLengthAttributeConvention Class

 

Represents a convention to process instances of MaxLengthAttribute found on properties in the model.

Namespace:   System.Data.Entity.ModelConfiguration.Conventions
Assembly:  EntityFramework (in EntityFramework.dll)


public class MaxLengthAttributeConvention : PrimitivePropertyAttributeConfigurationConvention<MaxLengthAttribute>

NameDescription
System_CAPS_pubmethodMaxLengthAttributeConvention()

Initializes a new instance of the MaxLengthAttributeConvention class.

NameDescription
System_CAPS_pubmethodApply(ConventionPrimitivePropertyConfiguration, MaxLengthAttribute)

Applies the convention to the attribute with specified configuration.(Overrides PrimitivePropertyAttributeConfigurationConvention<TAttribute>.Apply(ConventionPrimitivePropertyConfiguration, TAttribute).)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodProperties()

Begins configuration of a lightweight convention that applies to all properties in the model.(Inherited from Convention.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodTypes()

Begins configuration of a lightweight convention that applies to all mapped types in the model.(Inherited from Convention.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft