RelationalEntityTypeExtensions.GetSchema Method

Definition

Overloads

GetSchema(IEntityType)

Returns the database schema that contains the mapped table.

GetSchema(IReadOnlyEntityType)

Returns the database schema that contains the mapped table.

GetSchema(IEntityType)

Returns the database schema that contains the mapped table.

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

Parameters

entityType
IEntityType

The entity type to get the schema for.

Returns

The database schema that contains the mapped table.

Applies to

GetSchema(IReadOnlyEntityType)

Returns the database schema that contains the mapped table.

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

Parameters

entityType
IReadOnlyEntityType

The entity type to get the schema for.

Returns

The database schema that contains the mapped table.

Applies to