RelationalModelExtensions.GetDefaultSchema Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetDefaultSchema(IModel) |
Returns the default schema to use for the model, or |
GetDefaultSchema(IReadOnlyModel) |
Returns the default schema to use for the model, or |
GetDefaultSchema(IModel)
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
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
The default schema.
Applies to
GetDefaultSchema(IReadOnlyModel)
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
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
The default schema.
Applies to
Entity Framework