ITableBase Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a table-like object in the database.
public interface ITableBase : Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable
type ITableBase = interface
interface IAnnotatable
type ITableBase = interface
interface IAnnotatable
interface IReadOnlyAnnotatable
Public Interface ITableBase
Implements IAnnotatable
- Derived
- Implements
Remarks
See Modeling entity types and relationships for more information and examples.
Properties
Columns |
Gets the columns defined for this table. |
ComplexTypeMappings |
Gets the complex type mappings. |
EntityTypeMappings |
Gets the entity type mappings. |
IsShared |
Gets the value indicating whether multiple entity types are sharing the rows in the table. |
Item[String] |
Gets the value of the annotation with the given name, returning |
Model |
Gets the database model. |
Name |
Gets the name of the table in the database. |
Schema |
Gets the schema of the table in the database. |
SchemaQualifiedName |
Gets the schema-qualified name of the table in the database. |
Methods
AddRuntimeAnnotation(String, Object) |
Adds a runtime annotation to this object. Throws if an annotation with the specified name already exists. (Inherited from IAnnotatable) |
AnnotationsToDebugString(Int32) |
Gets the debug string for all annotations declared on the object. (Inherited from IReadOnlyAnnotatable) |
FindAnnotation(String) |
Gets the annotation with the given name, returning |
FindColumn(IProperty) |
Gets the column mapped to the given property. Returns |
FindColumn(String) |
Gets the column with the given name. Returns |
FindRuntimeAnnotation(String) |
Gets the runtime annotation with the given name, returning |
FindRuntimeAnnotationValue(String) |
Gets the value of the runtime annotation with the given name, returning |
GetAnnotation(String) |
Gets the annotation with the given name, throwing if it does not exist. (Inherited from IReadOnlyAnnotatable) |
GetAnnotations() |
Gets all annotations on the current object. (Inherited from IReadOnlyAnnotatable) |
GetOrAddRuntimeAnnotationValue<TValue,TArg>(String, Func<TArg,TValue>, TArg) |
Gets the value of the runtime annotation with the given name, adding it if one does not exist. (Inherited from IAnnotatable) |
GetReferencingRowInternalForeignKeys(IEntityType) |
Gets the foreign keys referencing the given entity type from other entity types sharing this table. |
GetRowInternalForeignKeys(IEntityType) |
Gets the foreign keys for the given entity type that point to other entity types sharing this table. |
GetRuntimeAnnotations() |
Gets all the runtime annotations on the current object. (Inherited from IAnnotatable) |
IsOptional(IEntityType) |
Gets the value indicating whether an entity of the given type might not be present in a row. |
IsOptional(ITypeBase) |
Gets the value indicating whether an entity of the given type might not be present in a row. |
RemoveRuntimeAnnotation(String) |
Removes the given runtime annotation from this object. (Inherited from IAnnotatable) |
SetRuntimeAnnotation(String, Object) |
Sets the runtime annotation stored under the given key. Overwrites the existing annotation if an annotation with the specified name already exists. (Inherited from IAnnotatable) |
ToDebugString(MetadataDebugStringOptions, Int32) |
Creates a human-readable representation of the given metadata. Warning: Do not rely on the format of the returned string. It is designed for debugging only and may change arbitrarily between releases. |
Extension Methods
AnnotationsToDebugString(IAnnotatable, Int32) |
Gets the debug string for all annotations declared on the object. |
GetAnnotation(IAnnotatable, String) |
Gets the annotation with the given name, throwing if it does not exist. |
Applies to
Entity Framework