RelationalEntityTypeExtensions.GetDefaultMappings(IEntityType) Method

Definition

Returns the default mappings that the entity type would use.

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)

Parameters

entityType
IEntityType

The entity type to get the table mappings for.

Returns

The tables to which the entity type is mapped.

Applies to