Condividi tramite


SqlServerPropertyExtensions.SetHiLoSequenceName Metodo

Definizione

Overload

SetHiLoSequenceName(IMutableProperty, String)

Imposta il nome da usare per la sequenza hi-lo.

SetHiLoSequenceName(IConventionProperty, String, Boolean)

Imposta il nome da usare per la sequenza hi-lo.

SetHiLoSequenceName(IMutableProperty, String)

Imposta il nome da usare per la sequenza hi-lo.

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

Parametri

property
IMutableProperty

Proprietà.

name
String

Nome della sequenza da usare.

Si applica a

SetHiLoSequenceName(IConventionProperty, String, Boolean)

Imposta il nome da usare per la sequenza hi-lo.

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

Parametri

property
IConventionProperty

Proprietà.

name
String

Nome della sequenza da usare.

fromDataAnnotation
Boolean

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

Restituisce

Il valore configurato.

Si applica a