EntityMappingConfiguration(Of TEntityType) Class
Entity Framework 5.0
Configures the table and column mapping for an entity type or a sub-set of properties from an entity type. This configuration functionality is exposed by the Code First fluent API, see DbModelBuilder.
System.Object
System.Data.Entity.ModelConfiguration.Configuration.EntityMappingConfiguration(Of TEntityType)
System.Data.Entity.ModelConfiguration.Configuration.EntityMappingConfiguration(Of TEntityType)
Namespace: System.Data.Entity.ModelConfiguration.Configuration
Assembly: EntityFramework (in EntityFramework.dll)
The EntityMappingConfiguration(Of TEntityType) type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | EntityMappingConfiguration(Of TEntityType) | Initializes a new instance of the EntityMappingConfiguration(Of TEntityType) class. |
| Name | Description | |
|---|---|---|
![]() | 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. |
![]() | MapInheritedProperties | Re-maps all properties inherited from base types. When configuring a derived type to be mapped to a separate table this will cause all properties to be included in the table rather than just the non-inherited properties. This is known as Table per Concrete Type (TPC) mapping. |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | Properties(Of TObject) | Configures the properties that will be included in this mapping fragment. If this method is not called then all properties that have not yet been included in a mapping fragment will be configured. |
![]() | Requires(String) | Configures the discriminator column used to differentiate between types in an inheritance hierarchy. |
![]() | Requires(Of TProperty)(Expression(Of Func(Of TEntityType, TProperty))) | Configures the discriminator condition used to differentiate between types in an inheritance hierarchy. |
![]() | ToString | Returns a string that represents the current object. This method is hidden from IntelliSense. (Overrides Object.ToString.) |
![]() | ToTable(String) | Configures the table name to be mapped to. |
![]() | ToTable(String, String) | Configures the table name and schema to be mapped to. |
Show:
