SqlServerModelExtensions.GetIdentityIncrement 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
GetIdentityIncrement(IReadOnlyModel) |
Returns the default identity increment. |
GetIdentityIncrement(IModel) |
Returns the default identity increment. |
GetIdentityIncrement(IReadOnlyModel)
Returns the default identity increment.
public static int GetIdentityIncrement (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel model);
static member GetIdentityIncrement : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel -> int
<Extension()>
Public Function GetIdentityIncrement (model As IReadOnlyModel) As Integer
Parameters
- model
- IReadOnlyModel
The model.
Returns
The default identity increment.
Applies to
GetIdentityIncrement(IModel)
Returns the default identity increment.
public static int GetIdentityIncrement (this Microsoft.EntityFrameworkCore.Metadata.IModel model);
static member GetIdentityIncrement : Microsoft.EntityFrameworkCore.Metadata.IModel -> int
<Extension()>
Public Function GetIdentityIncrement (model As IModel) As Integer
Parameters
- model
- IModel
The model.
Returns
The default identity increment.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework