RelationalEntityTypeExtensions.GetDefaultViewName Method

Definition

Overloads

GetDefaultViewName(IEntityType)

Returns the default view name that would be used for this entity type.

GetDefaultViewName(IReadOnlyEntityType)

Returns the default view name that would be used for this entity type.

GetDefaultViewName(IEntityType)

Returns the default view name that would be used for this entity type.

public static string GetDefaultViewName (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member GetDefaultViewName : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> string
<Extension()>
Public Function GetDefaultViewName (entityType As IEntityType) As String

Parameters

entityType
IEntityType

The entity type to get the table name for.

Returns

The default name of the table to which the entity type would be mapped.

Applies to

GetDefaultViewName(IReadOnlyEntityType)

Returns the default view name that would be used for this entity type.

public static string? GetDefaultViewName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType);
static member GetDefaultViewName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> string
<Extension()>
Public Function GetDefaultViewName (entityType As IReadOnlyEntityType) As String

Parameters

entityType
IReadOnlyEntityType

The entity type to get the table name for.

Returns

The default name of the table to which the entity type would be mapped.

Applies to