SqlServerPropertyExtensions.SetHiLoSequenceName Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| SetHiLoSequenceName(IMutableProperty, String) |
Sets the name to use for the hi-lo sequence. |
| SetHiLoSequenceName(IConventionProperty, String, Boolean) |
Sets the name to use for the hi-lo sequence. |
SetHiLoSequenceName(IMutableProperty, String)
Sets the name to use for the hi-lo sequence.
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)
Parameters
- property
- IMutableProperty
The property.
- name
- String
The sequence name to use.
Applies to
SetHiLoSequenceName(IConventionProperty, String, Boolean)
Sets the name to use for the hi-lo sequence.
public static string? SetHiLoSequenceName(this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, string? name, bool fromDataAnnotation = false);
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);
static member SetHiLoSequenceName : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * string * bool -> string
static member SetHiLoSequenceName : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * string * bool -> unit
<Extension()>
Public Function SetHiLoSequenceName (property As IConventionProperty, name As String, Optional fromDataAnnotation As Boolean = false) As String
<Extension()>
Public Sub SetHiLoSequenceName (property As IConventionProperty, name As String, Optional fromDataAnnotation As Boolean = false)
Parameters
- property
- IConventionProperty
The property.
- name
- String
The sequence name to use.
- fromDataAnnotation
- Boolean
Indicates whether the configuration was specified using a data annotation.
Returns
The configured value.