다음을 통해 공유


SqlServerModelExtensions.SetServiceTierSql 메서드

정의

오버로드

SetServiceTierSql(IMutableModel, String)

데이터베이스의 서비스 계층을 설정합니다.

SetServiceTierSql(IConventionModel, String, Boolean)

데이터베이스의 서비스 계층을 설정합니다.

SetServiceTierSql(IMutableModel, String)

데이터베이스의 서비스 계층을 설정합니다.

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)

매개 변수

model
IMutableModel

모델입니다.

value
String

설정할 값입니다.

적용 대상

SetServiceTierSql(IConventionModel, String, Boolean)

데이터베이스의 서비스 계층을 설정합니다.

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

매개 변수

model
IConventionModel

모델입니다.

value
String

설정할 값입니다.

fromDataAnnotation
Boolean

데이터 주석을 사용하여 구성을 지정했는지 여부를 나타냅니다.

반환

구성된 값입니다.

적용 대상