PropertyMaxLengthConvention.Apply Method

 

Applies the convention the given model configuration.

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

NameDescription
System_CAPS_pubmethodApply(AssociationType, DbModel)

Applies the convention the given model configuration.

System_CAPS_pubmethodApply(ComplexType, DbModel)

Applies the convention the given model configuration.

System_CAPS_pubmethodApply(EntityType, DbModel)

Applies the convention the given model configuration.


PropertyMaxLengthConvention.Apply Method (AssociationType, DbModel)

Applies the convention the given model configuration.

public virtual void Apply(
	AssociationType item,
	DbModel model
)

PropertyMaxLengthConvention.Apply Method (ComplexType, DbModel)

Applies the convention the given model configuration.

public virtual void Apply(
	ComplexType item,
	DbModel model
)

Parameters

item
Type: System.Data.Entity.Core.Metadata.Edm.ComplexType

The item.

model
Type: System.Data.Entity.Infrastructure.DbModel

The mapping model.


PropertyMaxLengthConvention.Apply Method (EntityType, DbModel)

Applies the convention the given model configuration.

public virtual void Apply(
	EntityType item,
	DbModel model
)

Parameters

item
Type: System.Data.Entity.Core.Metadata.Edm.EntityType

The item.

model
Type: System.Data.Entity.Infrastructure.DbModel

The mapping model.