共用方式為


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 為 。

適用於