SqlServerModelExtensions.SetPerformanceLevelSql Метод

Определение

Перегрузки

SetPerformanceLevelSql(IMutableModel, String)

Задает уровень производительности базы данных.

SetPerformanceLevelSql(IConventionModel, String, Boolean)

Задает уровень производительности базы данных.

SetPerformanceLevelSql(IMutableModel, String)

Задает уровень производительности базы данных.

public static void SetPerformanceLevelSql (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, string value);
public static void SetPerformanceLevelSql (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, string? value);
static member SetPerformanceLevelSql : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * string -> unit
<Extension()>
Public Sub SetPerformanceLevelSql (model As IMutableModel, value As String)

Параметры

model
IMutableModel

Модель.

value
String

Задаваемое значение.

Применяется к

SetPerformanceLevelSql(IConventionModel, String, Boolean)

Задает уровень производительности базы данных.

public static void SetPerformanceLevelSql (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, string value, bool fromDataAnnotation = false);
public static string SetPerformanceLevelSql (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, string value, bool fromDataAnnotation = false);
public static string? SetPerformanceLevelSql (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, string? value, bool fromDataAnnotation = false);
static member SetPerformanceLevelSql : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * string * bool -> unit
static member SetPerformanceLevelSql : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * string * bool -> string
<Extension()>
Public Sub SetPerformanceLevelSql (model As IConventionModel, value As String, Optional fromDataAnnotation As Boolean = false)
<Extension()>
Public Function SetPerformanceLevelSql (model As IConventionModel, value As String, Optional fromDataAnnotation As Boolean = false) As String

Параметры

model
IConventionModel

Модель.

value
String

Задаваемое значение.

fromDataAnnotation
Boolean

Указывает, была ли указана конфигурация с помощью заметки к данным.

Возвращаемое значение

Настроенное или заданное значение.

Применяется к