SqlServerModelExtensions.SetHiLoSequenceSchema Metodo

Definizione

Overload

SetHiLoSequenceSchema(IMutableModel, String)

Imposta lo schema da usare per la sequenza hi-lo predefinita.

SetHiLoSequenceSchema(IConventionModel, String, Boolean)

Imposta lo schema da usare per la sequenza hi-lo predefinita.

SetHiLoSequenceSchema(IMutableModel, String)

Imposta lo schema da usare per la sequenza hi-lo predefinita.

public static void SetHiLoSequenceSchema (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, string value);
public static void SetHiLoSequenceSchema (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, string? value);
static member SetHiLoSequenceSchema : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * string -> unit
<Extension()>
Public Sub SetHiLoSequenceSchema (model As IMutableModel, value As String)

Parametri

model
IMutableModel

Modello.

value
String

Il valore da impostare.

Si applica a

SetHiLoSequenceSchema(IConventionModel, String, Boolean)

Imposta lo schema da usare per la sequenza hi-lo predefinita.

public static void SetHiLoSequenceSchema (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, string value, bool fromDataAnnotation = false);
public static string SetHiLoSequenceSchema (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, string value, bool fromDataAnnotation = false);
public static string? SetHiLoSequenceSchema (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, string? value, bool fromDataAnnotation = false);
static member SetHiLoSequenceSchema : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * string * bool -> unit
static member SetHiLoSequenceSchema : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * string * bool -> string
<Extension()>
Public Sub SetHiLoSequenceSchema (model As IConventionModel, value As String, Optional fromDataAnnotation As Boolean = false)
<Extension()>
Public Function SetHiLoSequenceSchema (model As IConventionModel, value As String, Optional fromDataAnnotation As Boolean = false) As String

Parametri

model
IConventionModel

Modello.

value
String

Il valore da impostare.

fromDataAnnotation
Boolean

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

Restituisce

Il valore configurato.

Si applica a