Aracılığıyla paylaş


SqlServerModelExtensions.SetPerformanceLevelSql Yöntem

Tanım

Aşırı Yüklemeler

SetPerformanceLevelSql(IMutableModel, String)

Veritabanının performans düzeyini ayarlar.

SetPerformanceLevelSql(IConventionModel, String, Boolean)

Veritabanının performans düzeyini ayarlar.

SetPerformanceLevelSql(IMutableModel, String)

Kaynak:
SqlServerModelExtensions.cs
Kaynak:
SqlServerModelExtensions.cs
Kaynak:
SqlServerModelExtensions.cs
Kaynak:
SqlServerModelExtensions.cs
Kaynak:
SqlServerModelExtensions.cs
Kaynak:
SqlServerModelExtensions.cs

Veritabanının performans düzeyini ayarlar.

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)

Parametreler

model
IMutableModel

Model.

value
String

Ayarlanacak değer.

Şunlara uygulanır

SetPerformanceLevelSql(IConventionModel, String, Boolean)

Kaynak:
SqlServerModelExtensions.cs
Kaynak:
SqlServerModelExtensions.cs
Kaynak:
SqlServerModelExtensions.cs
Kaynak:
SqlServerModelExtensions.cs
Kaynak:
SqlServerModelExtensions.cs
Kaynak:
SqlServerModelExtensions.cs

Veritabanının performans düzeyini ayarlar.

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

Parametreler

model
IConventionModel

Model.

value
String

Ayarlanacak değer.

fromDataAnnotation
Boolean

Yapılandırmanın bir veri ek açıklaması kullanılarak belirtilip belirtilmediğinden emin olun.

Döndürülenler

Yapılandırılan değer.

Şunlara uygulanır