System.Data.Entity.ModelConfiguration Namespace
Entity Framework 5.0
Contains classes that facilitate the functionality exposed through DbModelBuilder.
| Class | Description | |
|---|---|---|
|
ComplexTypeConfiguration<TComplexType> | Allows configuration to be performed for an complex type in a model. A ComplexTypeConfiguration can be obtained by using the ComplexType<TComplexType>()method on or a custom type derived from ComplexTypeConfiguration<TComplexType> can be registered by using the property Configurations. |
|
EntityTypeConfiguration<TEntityType> | Allows configuration to be performed for an entity type in a model. An EntityTypeConfiguration<TEntityType> can be obtained by using the Entity method on DbModelBuilder or a custom type derived from EntityTypeConfiguration<TEntityType> can be registered by using the Configurations property on DbModelBuilder. |
|
ModelValidationException | Exception thrown by DbModelBuilder during model creation when an invalid model is generated. |