SqlServerModelExtensions.GetPerformanceLevelSql Method

Definition

Overloads

GetPerformanceLevelSql(IModel)

Returns the performance level of the database.

GetPerformanceLevelSql(IReadOnlyModel)

Returns the performance level of the database.

GetPerformanceLevelSql(IModel)

Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs

Returns the performance level of the database.

C#
public static string GetPerformanceLevelSql (this Microsoft.EntityFrameworkCore.Metadata.IModel model);

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

GetPerformanceLevelSql(IReadOnlyModel)

Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs

Returns the performance level of the database.

C#
public static string? GetPerformanceLevelSql (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel model);

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