Udostępnij przez


RelationalEntityTypeExtensions.GetDefaultMappings(IEntityType) Metoda

Definicja

Zwraca domyślne mapowania używane przez typ jednostki.

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

Parametry

entityType
IEntityType

Typ jednostki, dla których mają być uzyskiwane mapowania tabeli.

Zwraca

Tabele, do których jest mapowany typ jednostki.

Dotyczy