Share via


SqlServerPropertyExtensions.SetSequenceSchema Metodo

Definizione

Overload

SetSequenceSchema(IMutableProperty, String)

Imposta lo schema da utilizzare per la sequenza di generazione del valore chiave.

SetSequenceSchema(IConventionProperty, String, Boolean)

Imposta lo schema da utilizzare per la sequenza di generazione del valore chiave.

SetSequenceSchema(IMutableProperty, String)

Imposta lo schema da utilizzare per la sequenza di generazione del valore chiave.

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

Parametri

property
IMutableProperty

Proprietà.

schema
String

Schema da usare.

Si applica a

SetSequenceSchema(IConventionProperty, String, Boolean)

Imposta lo schema da utilizzare per la sequenza di generazione del valore chiave.

public static string? SetSequenceSchema (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, string? schema, bool fromDataAnnotation = false);
static member SetSequenceSchema : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * string * bool -> string
<Extension()>
Public Function SetSequenceSchema (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 utilizzando un'annotazione dati.

Restituisce

Il valore configurato.

Si applica a