SqlServerPropertyExtensions.GetIdentitySeed 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetIdentitySeed(IReadOnlyProperty, StoreObjectIdentifier)
返回标识种子。
public static long? GetIdentitySeed (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetIdentitySeed : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty * StoreObjectIdentifier -> Nullable<int64>
<Extension()>
Public Function GetIdentitySeed (property As IReadOnlyProperty, ByRef storeObject As StoreObjectIdentifier) As Nullable(Of Long)
参数
- property
- IReadOnlyProperty
属性。
- storeObject
- StoreObjectIdentifier
存储对象的标识符。
返回
标识种子。
适用于
GetIdentitySeed(IProperty)
返回标识种子。
public static int? GetIdentitySeed (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member GetIdentitySeed : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Nullable<int>
<Extension()>
Public Function GetIdentitySeed (property As IProperty) As Nullable(Of Integer)
参数
- property
- IProperty
属性。
返回
标识种子。
适用于
GetIdentitySeed(IReadOnlyProperty)
返回标识种子。
public static long? GetIdentitySeed (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
static member GetIdentitySeed : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> Nullable<int64>
<Extension()>
Public Function GetIdentitySeed (property As IReadOnlyProperty) As Nullable(Of Long)
参数
- property
- IReadOnlyProperty
属性。
返回
标识种子。
适用于
GetIdentitySeed(IReadOnlyRelationalPropertyOverrides)
返回标识种子。
public static long? GetIdentitySeed (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyRelationalPropertyOverrides overrides);
static member GetIdentitySeed : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyRelationalPropertyOverrides -> Nullable<int64>
<Extension()>
Public Function GetIdentitySeed (overrides As IReadOnlyRelationalPropertyOverrides) As Nullable(Of Long)
参数
- overrides
- IReadOnlyRelationalPropertyOverrides
属性重写。
返回
标识种子。
适用于
GetIdentitySeed(IProperty, StoreObjectIdentifier)
返回标识种子。
public static int? GetIdentitySeed (this Microsoft.EntityFrameworkCore.Metadata.IProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetIdentitySeed : Microsoft.EntityFrameworkCore.Metadata.IProperty * StoreObjectIdentifier -> Nullable<int>
<Extension()>
Public Function GetIdentitySeed (property As IProperty, ByRef storeObject As StoreObjectIdentifier) As Nullable(Of Integer)
参数
- property
- IProperty
属性。
- storeObject
- StoreObjectIdentifier
存储对象的标识符。
返回
标识种子。