Table of Contents

Class TableMappingBase<TColumnMapping>

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

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public class TableMappingBase<TColumnMapping> : Annotatable, ITableMappingBase, IAnnotatable, IReadOnlyAnnotatable where TColumnMapping : class, IColumnMappingBase

Type Parameters

TColumnMapping
Inheritance
TableMappingBase<TColumnMapping>
Implements
IAnnotatable
IReadOnlyAnnotatable
Derived

Constructors

TableMappingBase(IEntityType, TableBase, bool)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public TableMappingBase(IEntityType entityType, TableBase table, bool includesDerivedTypes)

Parameters

entityType IEntityType
table TableBase
includesDerivedTypes bool

Properties

ColumnMappings

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

protected virtual List<TColumnMapping> ColumnMappings { get; }

Property Value

List<TColumnMapping>

EntityType

public virtual IEntityType EntityType { get; }

Property Value

IEntityType

IncludesDerivedTypes

public virtual bool IncludesDerivedTypes { get; }

Property Value

bool

IsReadOnly

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public override bool IsReadOnly { get; }

Property Value

bool

IsSharedTablePrincipal

public virtual bool? IsSharedTablePrincipal { get; set; }

Property Value

bool?

IsSplitEntityTypePrincipal

public virtual bool? IsSplitEntityTypePrincipal { get; set; }

Property Value

bool?

Table

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual TableBase Table { get; }

Property Value

TableBase

Methods

AddColumnMapping(TColumnMapping)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual bool AddColumnMapping(TColumnMapping columnMapping)

Parameters

columnMapping TColumnMapping

Returns

bool