RelationalValueGenerationConvention.GetValueGenerated 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GetValueGenerated(IConventionProperty) |
傳回為指定屬性設定的存放區值產生策略。 |
GetValueGenerated(IProperty) |
傳回為指定屬性設定的存放區值產生策略。 |
GetValueGenerated(IProperty, StoreObjectIdentifier) |
傳回為指定屬性設定的存放區值產生策略。 |
GetValueGenerated(IReadOnlyProperty, StoreObjectIdentifier) |
傳回為指定屬性設定的存放區值產生策略。 |
GetValueGenerated(IConventionProperty)
傳回為指定屬性設定的存放區值產生策略。
protected override Microsoft.EntityFrameworkCore.Metadata.ValueGenerated? GetValueGenerated (Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property);
override this.GetValueGenerated : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ValueGenerated>
Protected Overrides Function GetValueGenerated (property As IConventionProperty) As Nullable(Of ValueGenerated)
參數
- property
- IConventionProperty
屬性。
傳回
為指定屬性設定的存放區值產生策略。
適用於
GetValueGenerated(IProperty)
傳回為指定屬性設定的存放區值產生策略。
public static Microsoft.EntityFrameworkCore.Metadata.ValueGenerated? GetValueGenerated (Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member GetValueGenerated : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ValueGenerated>
Public Shared Function GetValueGenerated (property As IProperty) As Nullable(Of ValueGenerated)
參數
- property
- IProperty
屬性。
傳回
為指定屬性設定的存放區值產生策略。
適用於
GetValueGenerated(IProperty, StoreObjectIdentifier)
傳回為指定屬性設定的存放區值產生策略。
public static Microsoft.EntityFrameworkCore.Metadata.ValueGenerated? GetValueGenerated (Microsoft.EntityFrameworkCore.Metadata.IProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetValueGenerated : Microsoft.EntityFrameworkCore.Metadata.IProperty * StoreObjectIdentifier -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ValueGenerated>
Public Shared Function GetValueGenerated (property As IProperty, ByRef storeObject As StoreObjectIdentifier) As Nullable(Of ValueGenerated)
參數
- property
- IProperty
屬性。
- storeObject
- StoreObjectIdentifier
存放區物件的識別碼。
傳回
要為指定屬性設定的新存放區值產生策略。
適用於
GetValueGenerated(IReadOnlyProperty, StoreObjectIdentifier)
傳回為指定屬性設定的存放區值產生策略。
public static Microsoft.EntityFrameworkCore.Metadata.ValueGenerated? GetValueGenerated (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetValueGenerated : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty * StoreObjectIdentifier -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ValueGenerated>
Public Shared Function GetValueGenerated (property As IReadOnlyProperty, ByRef storeObject As StoreObjectIdentifier) As Nullable(Of ValueGenerated)
參數
- property
- IReadOnlyProperty
屬性。
- storeObject
- StoreObjectIdentifier
存放區物件的識別碼。
傳回
要為指定屬性設定的新存放區值產生策略。