Compartilhar via


SqlServerModelExtensions.SetServiceTierSql Método

Definição

Sobrecargas

SetServiceTierSql(IMutableModel, String)

Define a camada de serviço do banco de dados.

SetServiceTierSql(IConventionModel, String, Boolean)

Define a camada de serviço do banco de dados.

SetServiceTierSql(IMutableModel, String)

Define a camada de serviço do banco de dados.

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

O modelo.

value
String

O valor a ser definido.

Aplica-se a

SetServiceTierSql(IConventionModel, String, Boolean)

Define a camada de serviço do banco de dados.

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

O modelo.

value
String

O valor a ser definido.

fromDataAnnotation
Boolean

Indica se a configuração foi especificada usando uma anotação de dados.

Retornos

O valor configurado.

Aplica-se a