Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

System.Data.Entity.ModelConfiguration Namespace

[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]

The System.Data.Entity.ModelConfiguration namespace contains classes that facilitate the functionality exposed through DBModelBuilder.

  ClassDescription
Public classComplexTypeConfiguration<TComplexType>Allows configuration to be performed for an complex type in a model. A ComplexTypeConfiguration can be obtained via the ComplexType method on DbModelBuilder or a custom type derived from ComplexTypeConfiguration can be registered via the Configurations property on DbModelBuilder.
Public classEntityTypeConfiguration<TEntityType>Allows configuration to be performed for an entity type in a model. An EntityTypeConfiguration can be obtained via the Entity method on DbModelBuilder or a custom type derived from EntityTypeConfiguration can be registered via the Configurations property on DbModelBuilder.
Public classModelValidationExceptionException thrown by DbModelBuilder during model creation when an invalid model is generated.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.