다음을 통해 공유


RelationalModelExtensions.SetCollation 메서드

정의

오버로드

SetCollation(IMutableModel, String)

데이터베이스 데이터 정렬을 설정합니다.

SetCollation(IConventionModel, String, Boolean)

데이터베이스 데이터 정렬을 설정합니다.

SetCollation(IMutableModel, String)

데이터베이스 데이터 정렬을 설정합니다.

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

매개 변수

model
IMutableModel

데이터 정렬을 설정할 모델입니다.

value
String

설정할 값입니다.

적용 대상

SetCollation(IConventionModel, String, Boolean)

데이터베이스 데이터 정렬을 설정합니다.

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

매개 변수

model
IConventionModel

데이터 정렬을 설정할 모델입니다.

value
String

설정할 값입니다.

fromDataAnnotation
Boolean

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

반환

구성된 데이터 정렬입니다.

적용 대상