SqlServerModelExtensions.GetIdentitySeed 方法

定义

重载

GetIdentitySeed(IModel)

返回默认标识种子。

GetIdentitySeed(IReadOnlyModel)

返回默认标识种子。

GetIdentitySeed(IModel)

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

返回默认标识种子。

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

参数

model
IModel

模型。

返回

默认标识种子。

适用于

GetIdentitySeed(IReadOnlyModel)

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

返回默认标识种子。

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

参数

model
IReadOnlyModel

模型。

返回

默认标识种子。

适用于