Table of Contents

Interface ITableMappingBase

Namespace
Microsoft.EntityFrameworkCore.Metadata
Assembly
Microsoft.EntityFrameworkCore.Relational.dll

Represents entity type mapping to a table-like object.

public interface ITableMappingBase : IAnnotatable

Properties

ColumnMappings

Gets the properties mapped to columns on the target table.

IEnumerable<IColumnMappingBase> ColumnMappings { get; }

Property Value

IEnumerable<IColumnMappingBase>

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

bool

IsSharedTablePrincipal

Gets the value indicating whether this is the mapping for the principal entity type if the table-like object is 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.

bool IsSplitEntityTypePrincipal { get; }

Property Value

bool

Table

Gets the target table-like object.

ITableBase Table { get; }

Property Value

ITableBase