Share via


EntityMappingConfiguration<TEntityType>.MapInheritedProperties Method

Definition

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.

public System.Data.Entity.ModelConfiguration.Configuration.EntityMappingConfiguration<TEntityType> MapInheritedProperties ();
member this.MapInheritedProperties : unit -> System.Data.Entity.ModelConfiguration.Configuration.EntityMappingConfiguration<'EntityType (requires 'EntityType : null)>
Public Function MapInheritedProperties () As EntityMappingConfiguration(Of TEntityType)

Returns

The same configuration instance so that multiple calls can be chained.

Applies to