ConfigurationRegistrar Class
Entity Framework 5.0
Allows derived configuration classes for entities and complex types to be registered with a DbModelBuilder.
Namespace: System.Data.Entity.ModelConfiguration.Configuration
Assembly: EntityFramework (in EntityFramework.dll)
The ConfigurationRegistrar type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Add(Of TComplexType)(ComplexTypeConfiguration(Of TComplexType)) | Adds an ComplexTypeConfiguration(Of TComplexType) to the DbModelBuilder. Only one ComplexTypeConfiguration(Of TComplexType) can be added for each type in a model. |
![]() | Add(Of TEntityType)(EntityTypeConfiguration(Of TEntityType)) | Adds an EntityTypeConfiguration(Of TEntityType) to the DbModelBuilder. Only one EntityTypeConfiguration(Of TEntityType) can be added for each type in a model. |
![]() | Equals | Determines whether the specified object is equal to the current object. This method is hidden from IntelliSense. (Overrides Object.Equals(Object).) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. This method is hidden from IntelliSense. (Overrides Object.GetHashCode.) |
![]() | GetType | Gets the type of the current instance. This method is hidden from IntelliSense. |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. This method is hidden from IntelliSense. (Overrides Object.ToString.) |
Derived configuration classes are created by deriving from EntityTypeConfiguration(Of TEntityType) or ComplexTypeConfiguration(Of TComplexType) and using a type to be included in the model as the generic parameter. Configuration can be performed without creating derived configuration classes by using the Entity and ComplexType methods on DbModelBuilder.
Show:
