RelationalEntityTypeExtensions.GetDefaultSchema Method

Definition

Overloads

GetDefaultSchema(IEntityType)

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

GetDefaultSchema(IReadOnlyEntityType)

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

GetDefaultSchema(IEntityType)

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

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

Parameters

entityType
IEntityType

The entity type to get the schema for.

Returns

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

Applies to

GetDefaultSchema(IReadOnlyEntityType)

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

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

Parameters

entityType
IReadOnlyEntityType

The entity type to get the schema for.

Returns

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

Applies to