Compartir a través de


SqlServerPropertyExtensions.SetHiLoSequenceName Método

Definición

Sobrecargas

SetHiLoSequenceName(IMutableProperty, String)

Establece el nombre que se va a usar para la secuencia hi-lo.

SetHiLoSequenceName(IConventionProperty, String, Boolean)

Establece el nombre que se va a usar para la secuencia 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

Establece el nombre que se va a usar para la secuencia 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)

Parámetros

property
IMutableProperty

Propiedad.

name
String

Nombre de secuencia que se va a usar.

Se aplica a

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

Establece el nombre que se va a usar para la secuencia 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

Parámetros

property
IConventionProperty

Propiedad.

name
String

Nombre de secuencia que se va a usar.

fromDataAnnotation
Boolean

Indica si la configuración se especificó mediante una anotación de datos.

Devoluciones

El valor configurado.

Se aplica a