Condividi tramite


RelationalModelExtensions.SetCollation Metodo

Definizione

Overload

SetCollation(IMutableModel, String)

Imposta le regole di confronto del database.

SetCollation(IConventionModel, String, Boolean)

Imposta le regole di confronto del database.

SetCollation(IMutableModel, String)

Origine:
RelationalModelExtensions.cs
Origine:
RelationalModelExtensions.cs
Origine:
RelationalModelExtensions.cs
Origine:
RelationalModelExtensions.cs
Origine:
RelationalModelExtensions.cs

Imposta le regole di confronto del database.

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)

Parametri

model
IMutableModel

Modello per cui impostare le regole di confronto.

value
String

Il valore da impostare.

Si applica a

SetCollation(IConventionModel, String, Boolean)

Origine:
RelationalModelExtensions.cs
Origine:
RelationalModelExtensions.cs
Origine:
RelationalModelExtensions.cs
Origine:
RelationalModelExtensions.cs
Origine:
RelationalModelExtensions.cs

Imposta le regole di confronto del database.

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

Parametri

model
IConventionModel

Modello per cui impostare le regole di confronto.

value
String

Il valore da impostare.

fromDataAnnotation
Boolean

Indica se la configurazione è stata specificata utilizzando un'annotazione dati.

Restituisce

Regole di confronto configurate.

Si applica a