SqlServerModelExtensions.SetPerformanceLevelSql Método

Definição

Sobrecargas

SetPerformanceLevelSql(IMutableModel, String)

Define o nível de desempenho do banco de dados.

SetPerformanceLevelSql(IConventionModel, String, Boolean)

Define o nível de desempenho do banco de dados.

SetPerformanceLevelSql(IMutableModel, String)

Define o nível de desempenho do banco de dados.

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)

Parâmetros

model
IMutableModel

O modelo.

value
String

O valor a ser definido.

Aplica-se a

SetPerformanceLevelSql(IConventionModel, String, Boolean)

Define o nível de desempenho do banco de dados.

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

Parâmetros

model
IConventionModel

O modelo.

value
String

O valor a ser definido.

fromDataAnnotation
Boolean

Indica se a configuração foi especificada usando uma anotação de dados.

Retornos

O valor configurado.

Aplica-se a