SqlServerModelExtensions.GetPerformanceLevelSql 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.
GetPerformanceLevelSql(IModel) |
Returns the performance level of the database. |
GetPerformanceLevelSql(IReadOnlyModel) |
Returns the performance level of the database. |
- Source:
- SqlServerModelExtensions.cs
- Source:
- SqlServerModelExtensions.cs
Returns the performance level of the database.
public static string GetPerformanceLevelSql (this Microsoft.EntityFrameworkCore.Metadata.IModel model);
static member GetPerformanceLevelSql : Microsoft.EntityFrameworkCore.Metadata.IModel -> string
<Extension()>
Public Function GetPerformanceLevelSql (model As IModel) As String
Parameters
- model
- IModel
The model.
Returns
The performance level of the database.
Applies to
Entity Framework Core 5.0 och Entity Framework Core 3.1
Produkt | Versioner |
---|---|
Entity Framework Core | 3.1, 5.0 |
- Source:
- SqlServerModelExtensions.cs
- Source:
- SqlServerModelExtensions.cs
- Source:
- SqlServerModelExtensions.cs
- Source:
- SqlServerModelExtensions.cs
Returns the performance level of the database.
public static string? GetPerformanceLevelSql (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel model);
static member GetPerformanceLevelSql : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel -> string
<Extension()>
Public Function GetPerformanceLevelSql (model As IReadOnlyModel) As String
Parameters
- model
- IReadOnlyModel
The model.
Returns
The performance level of the database.
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: