Compartir a través de


SqlServerModelExtensions.SetPerformanceLevelSql Método

Definición

Sobrecargas

SetPerformanceLevelSql(IMutableModel, String)

Establece el nivel de rendimiento de la base de datos.

SetPerformanceLevelSql(IConventionModel, String, Boolean)

Establece el nivel de rendimiento de la base de datos.

SetPerformanceLevelSql(IMutableModel, String)

Establece el nivel de rendimiento de la base de datos.

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

Modelo.

value
String

Valor que se va a establecer.

Se aplica a

SetPerformanceLevelSql(IConventionModel, String, Boolean)

Establece el nivel de rendimiento de la base de datos.

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

Modelo.

value
String

Valor que se va a establecer.

fromDataAnnotation
Boolean

Indica si la configuración se especificó mediante una anotación de datos.

Devoluciones

El valor configurado.

Se aplica a