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ır.

SetCollation(IConventionProperty, String, Boolean)

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

SetCollation(IMutableProperty, String)

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

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 bir harmanlama yapılandırır.

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 mı belirtilmediğini belirtir.

Döndürülenler

String

Yapılandırılan değer.

Şunlara uygulanır