Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

System.Data.Entity.ModelConfiguration Namespace

Entity Framework 5.0

Contains classes that facilitate the functionality exposed through DbModelBuilder.

  Class Description
Public class 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.
Public class 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.
Public class ModelValidationException Exception thrown by DbModelBuilder during model creation when an invalid model is generated.
Show:
© 2015 Microsoft