CosmosValueGenerationConvention.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

属性。

返回

要为给定属性设置的存储值生成策略。

适用于