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 and Entity Framework Core 3.1
Product | Versions |
---|---|
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 and other versions
Product | Versions |
---|---|
Entity Framework Core | 6.0, 7.0, 8.0, 9.0 |
Entity Framework feedback
Entity Framework is an open source project. Select a link to provide feedback: