RelationalModelExtensions.GetDefaultSchema Method

Definition

Overloads

GetDefaultSchema(IModel)

Returns the default schema to use for the model, or null if none has been set.

GetDefaultSchema(IReadOnlyModel)

Returns the default schema to use for the model, or null if none has been set.

GetDefaultSchema(IModel)

Returns the default schema to use for the model, or null if none has been set.

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

Parameters

model
IModel

The model to get the default schema for.

Returns

String

The default schema.

Applies to

GetDefaultSchema(IReadOnlyModel)

Returns the default schema to use for the model, or null if none has been set.

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

Parameters

model
IReadOnlyModel

The model to get the default schema for.

Returns

String

The default schema.

Applies to