RelationalTypeBaseExtensions.GetViewMappings(ITypeBase) Method

Definition

Returns the views to which the type is mapped.

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

Parameters

typeBase
ITypeBase

The type to get the view mappings for.

Returns

The views to which the type is mapped.

Applies to