ValueGenerationConvention.GetValueGenerated 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetValueGenerated(IConventionProperty) |
返回为给定属性设置的存储值生成策略。 |
GetValueGenerated(IProperty) |
返回为给定属性设置的存储值生成策略。 |
GetValueGenerated(IReadOnlyProperty) |
返回为给定属性设置的存储值生成策略。 |
GetValueGenerated(IConventionProperty)
- Source:
- ValueGenerationConvention.cs
- Source:
- ValueGenerationConvention.cs
- Source:
- ValueGenerationConvention.cs
- Source:
- ValueGenerationConvention.cs
- Source:
- ValueGenerationConvention.cs
- Source:
- ValueGenerationConvention.cs
- Source:
- ValueGenerationConvention.cs
返回为给定属性设置的存储值生成策略。
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)
- Source:
- ValueGenerationConvention.cs
- Source:
- ValueGenerationConvention.cs
- Source:
- ValueGenerationConvention.cs
返回为给定属性设置的存储值生成策略。
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)
- Source:
- ValueGenerationConvention.cs
- Source:
- ValueGenerationConvention.cs
- Source:
- ValueGenerationConvention.cs
- Source:
- ValueGenerationConvention.cs
返回为给定属性设置的存储值生成策略。
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
属性。
返回
要为给定属性设置的存储值生成策略。