RelationalModelExtensions.GetDefaultSchema Method
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.
GetDefaultSchema(IModel) |
Returns the default schema to use for the model, or |
GetDefaultSchema(IReadOnlyModel) |
Returns the default schema to use for the model, or |
- 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
Entity Framework Core 5.0 och andra versioner
Produkt | Versioner |
---|---|
Entity Framework Core | 3.0, 3.1, 5.0 |
- 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 Core 9.0 och andra versioner
Produkt | Versioner |
---|---|
Entity Framework Core | 6.0, 7.0, 8.0, 9.0 |
Feedback om Entity Framework
Entity Framework är ett öppen källkod projekt. Välj en länk för att ge feedback: