PropertyMaxLengthConvention.Apply Method
Applies the convention the given model configuration.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | Apply(AssociationType, DbModel) | Applies the convention the given model configuration. |
![]() | Apply(ComplexType, DbModel) | Applies the convention the given model configuration. |
![]() | Apply(EntityType, DbModel) | Applies the convention the given model configuration. |
PropertyMaxLengthConvention.Apply Method (AssociationType, DbModel)
Applies the convention the given model configuration.
Parameters
- item
-
Type:
System.Data.Entity.Core.Metadata.Edm.AssociationType
The item.
- model
-
Type:
System.Data.Entity.Infrastructure.DbModel
The mapping model.
PropertyMaxLengthConvention.Apply Method (ComplexType, DbModel)
Applies the convention the given model configuration.
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.
Parameters
- item
-
Type:
System.Data.Entity.Core.Metadata.Edm.EntityType
The item.
- model
-
Type:
System.Data.Entity.Infrastructure.DbModel
The mapping model.