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
stringschema
stringmodel
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
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
IsShared
public virtual bool IsShared { get; set; }
Property Value
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
Name
public virtual string Name { get; }
Property Value
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
Methods
FindColumn(IProperty)
public virtual IColumnBase FindColumn(IProperty property)
Parameters
property
IProperty
Returns
FindColumn(string)
public virtual IColumnBase FindColumn(string name)
Parameters
name
string
Returns
IsOptional(IEntityType)
public virtual bool IsOptional(IEntityType entityType)
Parameters
entityType
IEntityType