SqlServerModelExtensions.SetPerformanceLevelSql Method

Definition

Overloads

SetPerformanceLevelSql(IMutableModel, String)

Sets the performance level of the database.

SetPerformanceLevelSql(IConventionModel, String, Boolean)

Sets the performance level of the database.

SetPerformanceLevelSql(IMutableModel, String)

Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs

Sets the performance level of the 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)

Parameters

model
IMutableModel

The model.

value
String

The value to set.

Applies to

SetPerformanceLevelSql(IConventionModel, String, Boolean)

Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs

Sets the performance level of the 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

Parameters

model
IConventionModel

The model.

value
String

The value to set.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

The configured value.

Applies to