Delen via


SqlServerModelExtensions.GetIdentitySeed Method

Definition

Overloads

GetIdentitySeed(IModel)

Returns the default identity seed.

GetIdentitySeed(IReadOnlyModel)

Returns the default identity seed.

GetIdentitySeed(IModel)

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

Returns the default identity seed.

public static int GetIdentitySeed (this Microsoft.EntityFrameworkCore.Metadata.IModel model);
static member GetIdentitySeed : Microsoft.EntityFrameworkCore.Metadata.IModel -> int
<Extension()>
Public Function GetIdentitySeed (model As IModel) As Integer

Parameters

model
IModel

The model.

Returns

The default identity seed.

Applies to

GetIdentitySeed(IReadOnlyModel)

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

Returns the default identity seed.

public static long GetIdentitySeed (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel model);
static member GetIdentitySeed : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel -> int64
<Extension()>
Public Function GetIdentitySeed (model As IReadOnlyModel) As Long

Parameters

model
IReadOnlyModel

The model.

Returns

The default identity seed.

Applies to