Share via


SqlServerPropertyExtensions.SetHiLoSequenceSchema Metodo

Definizione

Overload

SetHiLoSequenceSchema(IConventionProperty, String, Boolean)

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

SetHiLoSequenceSchema(IMutableProperty, String)

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

SetHiLoSequenceSchema(IConventionProperty, String, Boolean)

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

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

Parametri

property
IConventionProperty

Proprietà.

schema
String

Schema da usare.

fromDataAnnotation
Boolean

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

Restituisce

Il valore configurato.

Si applica a

SetHiLoSequenceSchema(IMutableProperty, String)

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

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

Parametri

property
IMutableProperty

Proprietà.

schema
String

Schema da usare.

Si applica a