RelationalEntityTypeExtensions.GetDefaultViewSchema Method

Definition

Overloads

GetDefaultViewSchema(IEntityType)

Returns the default database schema that would be used for this entity view.

GetDefaultViewSchema(IReadOnlyEntityType)

Returns the default database schema that would be used for this entity view.

GetDefaultViewSchema(IEntityType)

Returns the default database schema that would be used for this entity view.

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

Parameters

entityType
IEntityType

The entity type to get the view schema for.

Returns

The default database schema to which the entity type would be mapped.

Applies to

GetDefaultViewSchema(IReadOnlyEntityType)

Returns the default database schema that would be used for this entity view.

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

Parameters

entityType
IReadOnlyEntityType

The entity type to get the view schema for.

Returns

The default database schema to which the entity type would be mapped.

Applies to