SqlServerPropertyExtensions.SetSequenceName Method

Definition

Overloads

SetSequenceName(IMutableProperty, String)

Sets the name to use for the key value generation sequence.

SetSequenceName(IConventionProperty, String, Boolean)

Sets the name to use for the key value generation sequence.

SetSequenceName(IMutableProperty, String)

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

Sets the name to use for the key value generation sequence.

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

Parameters

property
IMutableProperty

The property.

name
String

The sequence name to use.

Applies to

SetSequenceName(IConventionProperty, String, Boolean)

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

Sets the name to use for the key value generation sequence.

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

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.

Applies to