Interface ITableMapping
- Namespace
- Microsoft.EntityFrameworkCore.Metadata
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
Represents entity type mapping to a table.
public interface ITableMapping : ITableMappingBase, IAnnotatable, IReadOnlyAnnotatable
- Inherited Members
Remarks
See Modeling entity types and relationships for more information and examples.
Properties
ColumnMappings
Gets the properties mapped to columns on the target table.
IEnumerable<IColumnMapping> ColumnMappings { get; }
Property Value
DeleteStoredProcedureMapping
Gets the corresponding insert stored procedure mapping if it exists.
IStoredProcedureMapping? DeleteStoredProcedureMapping { get; }
Property Value
InsertStoredProcedureMapping
Gets the corresponding insert stored procedure mapping if it exists.
IStoredProcedureMapping? InsertStoredProcedureMapping { get; }
Property Value
Table
Gets the target table.
ITable Table { get; }
Property Value
UpdateStoredProcedureMapping
Gets the corresponding insert stored procedure mapping if it exists.
IStoredProcedureMapping? UpdateStoredProcedureMapping { get; }
Property Value
Methods
ToDebugString(MetadataDebugStringOptions, int)
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.
string ToDebugString(MetadataDebugStringOptions options = 0, int indent = 0)
Parameters
optionsMetadataDebugStringOptionsOptions for generating the string.
indentintThe number of indent spaces to use before each new line.
Returns
- string
A human-readable representation.