Język

RelationalPropertyExtensions.SetCollation Metoda

Definicja

Przeciążenia

Nazwisko Opis
SetCollation(IConventionProperty, String, Boolean)

Konfiguruje sortowanie, które ma być używane dla kolumny, na która jest mapowana ta właściwość.

SetCollation(IMutableProperty, String)

Konfiguruje sortowanie do użycia dla kolumny, do których jest mapowana ta właściwość.

SetCollation(IConventionProperty, String, Boolean)

Źródło:
RelationalPropertyExtensions.cs
Źródło:
RelationalPropertyExtensions.cs
Źródło:
RelationalPropertyExtensions.cs
Źródło:
RelationalPropertyExtensions.cs
Źródło:
RelationalPropertyExtensions.cs
Źródło:
RelationalPropertyExtensions.cs
Źródło:
RelationalPropertyExtensions.cs

Konfiguruje sortowanie, które ma być używane dla kolumny, na która jest mapowana ta właściwość.

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

Parametry

property
IConventionProperty

Właściwość.

collation
String

Sortowanie dla kolumny.

fromDataAnnotation
Boolean

Wskazuje, czy konfiguracja została określona przy użyciu adnotacji danych.

Zwraca

Skonfigurowana wartość.

Dotyczy

SetCollation(IMutableProperty, String)

Źródło:
RelationalPropertyExtensions.cs
Źródło:
RelationalPropertyExtensions.cs
Źródło:
RelationalPropertyExtensions.cs
Źródło:
RelationalPropertyExtensions.cs
Źródło:
RelationalPropertyExtensions.cs
Źródło:
RelationalPropertyExtensions.cs
Źródło:
RelationalPropertyExtensions.cs

Konfiguruje sortowanie do użycia dla kolumny, do których jest mapowana ta właściwość.

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)

Parametry

property
IMutableProperty

Właściwość.

collation
String

Sortowanie dla kolumny.

Dotyczy