Compartir a través de


SqlServerModelExtensions.SetHiLoSequenceName Método

Definición

Sobrecargas

SetHiLoSequenceName(IMutableModel, String)

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

SetHiLoSequenceName(IConventionModel, String, Boolean)

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

SetHiLoSequenceName(IMutableModel, String)

Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs

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

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

Parámetros

model
IMutableModel

Modelo.

name
String

Valor que se va a establecer.

Se aplica a

SetHiLoSequenceName(IConventionModel, String, Boolean)

Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs

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

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

Parámetros

model
IConventionModel

Modelo.

name
String

Valor que se va a establecer.

fromDataAnnotation
Boolean

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

Devoluciones

El valor configurado.

Se aplica a