SqlServerPropertyExtensions.GetIdentityIncrement 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GetIdentityIncrement(IReadOnlyProperty, StoreObjectIdentifier)
傳回識別增量。
public static int? GetIdentityIncrement (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetIdentityIncrement : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty * StoreObjectIdentifier -> Nullable<int>
<Extension()>
Public Function GetIdentityIncrement (property As IReadOnlyProperty, ByRef storeObject As StoreObjectIdentifier) As Nullable(Of Integer)
參數
- property
- IReadOnlyProperty
屬性。
- storeObject
- StoreObjectIdentifier
存放區物件的識別碼。
傳回
識別遞增。
適用於
GetIdentityIncrement(IReadOnlyRelationalPropertyOverrides)
傳回識別增量。
public static int? GetIdentityIncrement (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyRelationalPropertyOverrides overrides);
static member GetIdentityIncrement : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyRelationalPropertyOverrides -> Nullable<int>
<Extension()>
Public Function GetIdentityIncrement (overrides As IReadOnlyRelationalPropertyOverrides) As Nullable(Of Integer)
參數
- overrides
- IReadOnlyRelationalPropertyOverrides
屬性會覆寫。
傳回
識別遞增。
適用於
GetIdentityIncrement(IProperty, StoreObjectIdentifier)
傳回識別增量。
public static int? GetIdentityIncrement (this Microsoft.EntityFrameworkCore.Metadata.IProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetIdentityIncrement : Microsoft.EntityFrameworkCore.Metadata.IProperty * StoreObjectIdentifier -> Nullable<int>
<Extension()>
Public Function GetIdentityIncrement (property As IProperty, ByRef storeObject As StoreObjectIdentifier) As Nullable(Of Integer)
參數
- property
- IProperty
屬性。
- storeObject
- StoreObjectIdentifier
存放區物件的識別碼。
傳回
識別遞增。
適用於
GetIdentityIncrement(IProperty)
傳回識別增量。
public static int? GetIdentityIncrement (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member GetIdentityIncrement : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Nullable<int>
<Extension()>
Public Function GetIdentityIncrement (property As IProperty) As Nullable(Of Integer)
參數
- property
- IProperty
屬性。
傳回
識別遞增。
適用於
GetIdentityIncrement(IReadOnlyProperty)
傳回識別增量。
public static int? GetIdentityIncrement (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
static member GetIdentityIncrement : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> Nullable<int>
<Extension()>
Public Function GetIdentityIncrement (property As IReadOnlyProperty) As Nullable(Of Integer)
參數
- property
- IReadOnlyProperty
屬性。
傳回
識別遞增。