Interface ITableMappingBase
- Namespace
- Microsoft.EntityFrameworkCore.Metadata
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
Represents entity type mapping to a table-like object.
public interface ITableMappingBase : IAnnotatable, IReadOnlyAnnotatable
Remarks
See Modeling entity types and relationships for more information and examples.
Properties
ColumnMappings
Gets the properties mapped to columns on the target table.
IEnumerable<IColumnMappingBase> ColumnMappings { get; }
Property Value
EntityType
Gets the mapped entity type.
IEntityType EntityType { get; }
Property Value
- IEntityType
IncludesDerivedTypes
Gets the value indicating whether the mapped table-like object includes rows for the derived entity types. Set to false for inherited mappings.
bool IncludesDerivedTypes { get; }
Property Value
IsSharedTablePrincipal
Gets the value indicating whether this is the mapping for the principal entity type if the table-like object is shared. null is the table-like object is not shared.
bool? IsSharedTablePrincipal { get; }
Property Value
- bool?
IsSplitEntityTypePrincipal
Gets the value indicating whether this is the mapping for the principal table-like object if the entity type is split. null is the entity type is not split.
bool? IsSplitEntityTypePrincipal { get; }
Property Value
- bool?
Table
Gets the target table-like object.
ITableBase Table { get; }