SqlServerModelExtensions.GetIdentitySeed 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
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework