SqlServerModelExtensions.SetPerformanceLevelSql Metodo

Definizione

Overload

SetPerformanceLevelSql(IMutableModel, String)

Imposta il livello di prestazioni del database.

SetPerformanceLevelSql(IConventionModel, String, Boolean)

Imposta il livello di prestazioni del database.

SetPerformanceLevelSql(IMutableModel, String)

Imposta il livello di prestazioni del database.

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)

Parametri

model
IMutableModel

Modello.

value
String

Il valore da impostare.

Si applica a

SetPerformanceLevelSql(IConventionModel, String, Boolean)

Imposta il livello di prestazioni del database.

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

Parametri

model
IConventionModel

Modello.

value
String

Il valore da impostare.

fromDataAnnotation
Boolean

Indica se la configurazione è stata specificata utilizzando un'annotazione dati.

Restituisce

Il valore configurato.

Si applica a