Freigeben über


SqlServerModelExtensions.SetServiceTierSql Methode

Definition

Überlädt

SetServiceTierSql(IMutableModel, String)

Legt die Dienstebene der Datenbank fest.

SetServiceTierSql(IConventionModel, String, Boolean)

Legt die Dienstebene der Datenbank fest.

SetServiceTierSql(IMutableModel, String)

Legt die Dienstebene der Datenbank fest.

public static void SetServiceTierSql (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, string value);
public static void SetServiceTierSql (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, string? value);
static member SetServiceTierSql : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * string -> unit
<Extension()>
Public Sub SetServiceTierSql (model As IMutableModel, value As String)

Parameter

model
IMutableModel

Das Modell.

value
String

Der festzulegende Wert.

Gilt für:

SetServiceTierSql(IConventionModel, String, Boolean)

Legt die Dienstebene der Datenbank fest.

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

Parameter

model
IConventionModel

Das Modell.

value
String

Der festzulegende Wert.

fromDataAnnotation
Boolean

Gibt an, ob die Konfiguration mithilfe einer Datenanmerkung angegeben wurde.

Gibt zurück

Der konfigurierte Wert.

Gilt für: