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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework