RelationalTypeBaseExtensions.GetTableMappings(ITypeBase) Method

Definition

Returns the tables to which the type is mapped.

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

Parameters

typeBase
ITypeBase

The type to get the table mappings for.

Returns

The tables to which the type is mapped.

Applies to