Table of Contents

Class Table

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 Table : TableBase, ITable, ITableBase, IAnnotatable, IReadOnlyAnnotatable
Inheritance
Table
Implements
IAnnotatable
IReadOnlyAnnotatable
Inherited Members

Constructors

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

Parameters

name string
schema string
model RelationalModel

Properties

CheckConstraints

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, CheckConstraint> CheckConstraints { get; }

Property Value

SortedDictionary<string, CheckConstraint>

ForeignKeyConstraints

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<ForeignKeyConstraint> ForeignKeyConstraints { get; }

Property Value

SortedSet<ForeignKeyConstraint>

Indexes

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, TableIndex> Indexes { get; }

Property Value

SortedDictionary<string, TableIndex>

IsExcludedFromMigrations

public virtual bool IsExcludedFromMigrations { get; }

Property Value

bool

PrimaryKey

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 UniqueConstraint? PrimaryKey { get; set; }

Property Value

UniqueConstraint

ReferencingForeignKeyConstraints

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<ForeignKeyConstraint> ReferencingForeignKeyConstraints { get; }

Property Value

SortedSet<ForeignKeyConstraint>

Triggers

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, ITrigger> Triggers { get; }

Property Value

SortedDictionary<string, ITrigger>

UniqueConstraints

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, UniqueConstraint> UniqueConstraints { get; }

Property Value

SortedDictionary<string, UniqueConstraint>

Methods

FindColumn(IProperty)

public override IColumnBase? FindColumn(IProperty property)

Parameters

property IProperty

Returns

IColumnBase

FindUniqueConstraint(string)

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 UniqueConstraint? FindUniqueConstraint(string name)

Parameters

name string

Returns

UniqueConstraint

ToString()

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 string ToString()

Returns

string