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

構成がデータ注釈を使用して指定されたかどうかを示します。

戻り値

構成された照合順序。

適用対象