RelationalEntityTypeExtensions.GetViewMappings(IEntityType) Method

Definition

Returns the views to which the entity type is mapped.

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

Parameters

entityType
IEntityType

The entity type to get the view mappings for.

Returns

The views to which the entity type is mapped.

Applies to