Aracılığıyla paylaş


RelationalModelExtensions.SetCollation Yöntem

Tanım

Aşırı Yüklemeler

SetCollation(IMutableModel, String)

Veritabanı harmanlamasını ayarlar.

SetCollation(IConventionModel, String, Boolean)

Veritabanı harmanlamasını ayarlar.

SetCollation(IMutableModel, String)

Veritabanı harmanlamasını ayarlar.

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)

Parametreler

model
IMutableModel

Harmanlamanın ayarlanacağı model.

value
String

Ayarlanacak değer.

Şunlara uygulanır

SetCollation(IConventionModel, String, Boolean)

Veritabanı harmanlamasını ayarlar.

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

Parametreler

model
IConventionModel

Harmanlamanın ayarlanacağı model.

value
String

Ayarlanacak değer.

fromDataAnnotation
Boolean

Yapılandırmanın bir veri ek açıklaması kullanılarak belirtilip belirtilmedidiğini gösterir.

Döndürülenler

Yapılandırılan harmanlama.

Şunlara uygulanır