語言

SqlServerModelExtensions.SetPerformanceLevelSql 方法

定義

多載

名稱 Description
SetPerformanceLevelSql(IConventionModel, String, Boolean)

設定資料庫的效能等級。

SetPerformanceLevelSql(IMutableModel, String)

設定資料庫的效能等級。

SetPerformanceLevelSql(IConventionModel, String, Boolean)

來源:
SqlServerModelExtensions.cs
來源:
SqlServerModelExtensions.cs
來源:
SqlServerModelExtensions.cs
來源:
SqlServerModelExtensions.cs
來源:
SqlServerModelExtensions.cs
來源:
SqlServerModelExtensions.cs
來源:
SqlServerModelExtensions.cs
來源:
SqlServerModelExtensions.cs

設定資料庫的效能等級。

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

參數

model
IConventionModel

模型。

value
String

要設定的值。

fromDataAnnotation
Boolean

表示配置是否以資料註解方式指定。

傳回

設定值。

適用於

SetPerformanceLevelSql(IMutableModel, String)

來源:
SqlServerModelExtensions.cs
來源:
SqlServerModelExtensions.cs
來源:
SqlServerModelExtensions.cs
來源:
SqlServerModelExtensions.cs
來源:
SqlServerModelExtensions.cs
來源:
SqlServerModelExtensions.cs
來源:
SqlServerModelExtensions.cs
來源:
SqlServerModelExtensions.cs

設定資料庫的效能等級。

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

要設定的值。

適用於