MaxLengthConfiguration Class

 

Represents a model configuration to set the maximum length of a string or binary property.

Namespace:   Microsoft.Data.Entity.Design.CodeGeneration
Assembly:  Microsoft.Data.Entity.Design (in Microsoft.Data.Entity.Design.dll)

System.Object
  Microsoft.Data.Entity.Design.CodeGeneration.MaxLengthConfiguration
    Microsoft.Data.Entity.Design.CodeGeneration.MaxLengthStringConfiguration

public class MaxLengthConfiguration : IAttributeConfiguration, 
	IFluentConfiguration, IConfiguration

NameDescription
System_CAPS_pubmethodMaxLengthConfiguration()

Initializes a new instance of the MaxLengthConfiguration class.

NameDescription
System_CAPS_pubpropertyMaxLength

Gets or sets the maximum length for the property.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetAttributeBody(CodeHelper)

Returns the attribute body associated with the length configuration.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetMethodChain(CodeHelper)

Returns the method chain associated with the length configuration.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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