SqlCePropertyMaxLengthConvention Class

 

Represents a convention to set a default maximum length of 4000 for properties whose type supports length facets when SqlCe is the provider.

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

System.Object
  System.Data.Entity.ModelConfiguration.Conventions.SqlCePropertyMaxLengthConvention

public class SqlCePropertyMaxLengthConvention : IConceptualModelConvention<EntityType>, 
	IConceptualModelConvention<ComplexType>, IConvention

NameDescription
System_CAPS_pubmethodSqlCePropertyMaxLengthConvention()

Initializes a new instance of the SqlCePropertyMaxLengthConvention with the default length.

System_CAPS_pubmethodSqlCePropertyMaxLengthConvention(Int32)

Initializes a new instance of the SqlCePropertyMaxLengthConvention with the specified length.

NameDescription
System_CAPS_pubmethodApply(ComplexType, DbModel)

Applies the convention to the given provider.

System_CAPS_pubmethodApply(EntityType, DbModel)

Applies the convention to the given provider.

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_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.

Return to top
Show: