RelationalEntityTypeExtensions.GetTableMappings(IEntityType) Method

Definition

Returns the tables to which the entity type is mapped.

public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.ITableMapping> GetTableMappings (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member GetTableMappings : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> seq<Microsoft.EntityFrameworkCore.Metadata.ITableMapping>
<Extension()>
Public Function GetTableMappings (entityType As IEntityType) As IEnumerable(Of ITableMapping)

Parameters

entityType
IEntityType

The entity type to get the table mappings for.

Returns

The tables to which the entity type is mapped.

Applies to