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
存放區物件的識別碼。
傳回
識別種子。