Compartir a través de


SqlServerModelExtensions.SetServiceTierSql Método

Definición

Sobrecargas

SetServiceTierSql(IMutableModel, String)

Establece el nivel de servicio de la base de datos.

SetServiceTierSql(IConventionModel, String, Boolean)

Establece el nivel de servicio de la base de datos.

SetServiceTierSql(IMutableModel, String)

Establece el nivel de servicio de la base de datos.

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)

Parámetros

model
IMutableModel

Modelo.

value
String

Valor que se va a establecer.

Se aplica a

SetServiceTierSql(IConventionModel, String, Boolean)

Establece el nivel de servicio de la base de datos.

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

Parámetros

model
IConventionModel

Modelo.

value
String

Valor que se va a establecer.

fromDataAnnotation
Boolean

Indica si la configuración se especificó mediante una anotación de datos.

Devoluciones

El valor configurado.

Se aplica a