Table of Contents

Class TableBase

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 TableBase : Annotatable, ITableBase, IAnnotatable
Inheritance
TableBase
Implements
IAnnotatable
Derived

Constructors

TableBase(string, string, RelationalModel)

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 TableBase(string name, string schema, RelationalModel model)

Parameters

name string
schema string
model RelationalModel

Properties

Columns

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 SortedDictionary<string, IColumnBase> Columns { get; protected set; }

Property Value

SortedDictionary<string, IColumnBase>

EntityTypeMappings

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 SortedSet<ITableMappingBase> EntityTypeMappings { get; }

Property Value

SortedSet<ITableMappingBase>

IsShared

public virtual bool IsShared { get; set; }

Property Value

bool

Model

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 RelationalModel Model { get; }

Property Value

RelationalModel

Name

public virtual string Name { get; }

Property Value

string

OptionalEntityTypes

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 Dictionary<IEntityType, bool> OptionalEntityTypes { get; set; }

Property Value

Dictionary<IEntityType, bool>

ReferencingRowInternalForeignKeys

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 SortedDictionary<IEntityType, IEnumerable<IForeignKey>> ReferencingRowInternalForeignKeys { get; set; }

Property Value

SortedDictionary<IEntityType, IEnumerable<IForeignKey>>

RowInternalForeignKeys

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 SortedDictionary<IEntityType, IEnumerable<IForeignKey>> RowInternalForeignKeys { get; set; }

Property Value

SortedDictionary<IEntityType, IEnumerable<IForeignKey>>

Schema

public virtual string Schema { get; }

Property Value

string

Methods

FindColumn(IProperty)

public virtual IColumnBase FindColumn(IProperty property)

Parameters

property IProperty

Returns

IColumnBase

FindColumn(string)

public virtual IColumnBase FindColumn(string name)

Parameters

name string

Returns

IColumnBase

IsOptional(IEntityType)

public virtual bool IsOptional(IEntityType entityType)

Parameters

entityType IEntityType

Returns

bool