RelationalTypeBaseExtensions.GetViewName(IReadOnlyTypeBase) Method

Definition

Returns the name of the view to which the type is mapped or null if not mapped to a view.

public static string? GetViewName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTypeBase typeBase);
static member GetViewName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTypeBase -> string
<Extension()>
Public Function GetViewName (typeBase As IReadOnlyTypeBase) As String

Parameters

typeBase
IReadOnlyTypeBase

The type to get the view name for.

Returns

The name of the view to which the type is mapped.

Applies to