SqlServerModelExtensions.SetSequenceNameSuffix Method

Definition

Overloads

SetSequenceNameSuffix(IMutableModel, String)

Sets the suffix to append to the name of automatically created sequences.

SetSequenceNameSuffix(IConventionModel, String, Boolean)

Sets the suffix to append to the name of automatically created sequences.

SetSequenceNameSuffix(IMutableModel, String)

Sets the suffix to append to the name of automatically created sequences.

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

Parameters

model
IMutableModel

The model.

name
String

The value to set.

Applies to

SetSequenceNameSuffix(IConventionModel, String, Boolean)

Sets the suffix to append to the name of automatically created sequences.

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

Parameters

model
IConventionModel

The model.

name
String

The value to set.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

The configured value.

Applies to