ValueGenerationConvention.GetValueGenerated 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| GetValueGenerated(IConventionProperty) |
回傳為特定屬性設定的店鋪價值生成策略。 |
| GetValueGenerated(IProperty) |
回傳為特定屬性設定的店鋪價值生成策略。 |
| GetValueGenerated(IReadOnlyProperty) |
回傳為特定屬性設定的店鋪價值生成策略。 |
GetValueGenerated(IConventionProperty)
回傳為特定屬性設定的店鋪價值生成策略。
protected virtual Microsoft.EntityFrameworkCore.Metadata.ValueGenerated? GetValueGenerated(Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property);
abstract member GetValueGenerated : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ValueGenerated>
override this.GetValueGenerated : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ValueGenerated>
Protected Overridable 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(IReadOnlyProperty)
回傳為特定屬性設定的店鋪價值生成策略。
public static Microsoft.EntityFrameworkCore.Metadata.ValueGenerated? GetValueGenerated(Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
static member GetValueGenerated : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ValueGenerated>
Public Shared Function GetValueGenerated (property As IReadOnlyProperty) As Nullable(Of ValueGenerated)
參數
- property
- IReadOnlyProperty
屬性。
傳回
為特定物業設定的店鋪價值生成策略。