IReadOnlyProperty.GetValueGeneratorFactory 方法

定义

获取已设置为为此属性生成值的工厂(如果有)。

public Func<Microsoft.EntityFrameworkCore.Metadata.IProperty,Microsoft.EntityFrameworkCore.Metadata.IEntityType,Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator>? GetValueGeneratorFactory ();
public Func<Microsoft.EntityFrameworkCore.Metadata.IProperty,Microsoft.EntityFrameworkCore.Metadata.ITypeBase,Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator>? GetValueGeneratorFactory ();
abstract member GetValueGeneratorFactory : unit -> Func<Microsoft.EntityFrameworkCore.Metadata.IProperty, Microsoft.EntityFrameworkCore.Metadata.IEntityType, Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator>
abstract member GetValueGeneratorFactory : unit -> Func<Microsoft.EntityFrameworkCore.Metadata.IProperty, Microsoft.EntityFrameworkCore.Metadata.ITypeBase, Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator>
Public Function GetValueGeneratorFactory () As Func(Of IProperty, IEntityType, ValueGenerator)
Public Function GetValueGeneratorFactory () As Func(Of IProperty, ITypeBase, ValueGenerator)

返回

工厂;如果未设置工厂, null 则为 。

适用于