Partager via


SqlServerPropertyExtensions.SetHiLoSequenceName Méthode

Définition

Surcharges

SetHiLoSequenceName(IMutableProperty, String)

Définit le nom à utiliser pour la séquence hi-lo.

SetHiLoSequenceName(IConventionProperty, String, Boolean)

Définit le nom à utiliser pour la séquence hi-lo.

SetHiLoSequenceName(IMutableProperty, String)

Source:
SqlServerPropertyExtensions.cs
Source:
SqlServerPropertyExtensions.cs
Source:
SqlServerPropertyExtensions.cs
Source:
SqlServerPropertyExtensions.cs
Source:
SqlServerPropertyExtensions.cs
Source:
SqlServerPropertyExtensions.cs
Source:
SqlServerPropertyExtensions.cs

Définit le nom à utiliser pour la séquence 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)

Paramètres

property
IMutableProperty

Propriété.

name
String

Nom de séquence à utiliser.

S’applique à

SetHiLoSequenceName(IConventionProperty, String, Boolean)

Source:
SqlServerPropertyExtensions.cs
Source:
SqlServerPropertyExtensions.cs
Source:
SqlServerPropertyExtensions.cs
Source:
SqlServerPropertyExtensions.cs
Source:
SqlServerPropertyExtensions.cs
Source:
SqlServerPropertyExtensions.cs
Source:
SqlServerPropertyExtensions.cs

Définit le nom à utiliser pour la séquence 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

Paramètres

property
IConventionProperty

Propriété.

name
String

Nom de séquence à utiliser.

fromDataAnnotation
Boolean

Indique si la configuration a été spécifiée à l’aide d’une annotation de données.

Retours

Valeur configurée.

S’applique à