Aracılığıyla paylaş


RelationalPropertyExtensions.SetCollation Yöntem

Tanım

Aşırı Yüklemeler

SetCollation(IMutableProperty, String)

Bu özelliğin eşlendiği sütun için kullanılacak harmanlamayı yapılandırıyor.

SetCollation(IConventionProperty, String, Boolean)

Bu özelliğin eşlendiği sütun için kullanılacak harmanlamayı yapılandırıyor.

SetCollation(IMutableProperty, String)

Bu özelliğin eşlendiği sütun için kullanılacak harmanlamayı yapılandırıyor.

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

Parametreler

property
IMutableProperty

Özellik.

collation
String

Sütun için harmanlama.

Şunlara uygulanır

SetCollation(IConventionProperty, String, Boolean)

Bu özelliğin eşlendiği sütun için kullanılacak harmanlamayı yapılandırıyor.

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

Parametreler

property
IConventionProperty

Özellik.

collation
String

Sütun için harmanlama.

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 değer.

Şunlara uygulanır