共用方式為


ConverterMappingHints.ValueGeneratorFactory 屬性

定義

警告

此 API 現已淘汰。

當使用此轉換器時,用於建立模型值專用 ValueGenerator 的選擇性處理站。

public virtual Func<Microsoft.EntityFrameworkCore.Metadata.IProperty,Microsoft.EntityFrameworkCore.Metadata.IEntityType,Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator> ValueGeneratorFactory { get; }
public virtual Func<Microsoft.EntityFrameworkCore.Metadata.IProperty,Microsoft.EntityFrameworkCore.Metadata.IEntityType,Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator>? ValueGeneratorFactory { get; }
[System.Obsolete]
public virtual Func<Microsoft.EntityFrameworkCore.Metadata.IProperty,Microsoft.EntityFrameworkCore.Metadata.IEntityType,Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator>? ValueGeneratorFactory { get; }
member this.ValueGeneratorFactory : Func<Microsoft.EntityFrameworkCore.Metadata.IProperty, Microsoft.EntityFrameworkCore.Metadata.IEntityType, Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator>
[<System.Obsolete>]
member this.ValueGeneratorFactory : Func<Microsoft.EntityFrameworkCore.Metadata.IProperty, Microsoft.EntityFrameworkCore.Metadata.IEntityType, Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator>
Public Overridable ReadOnly Property ValueGeneratorFactory As Func(Of IProperty, IEntityType, ValueGenerator)

屬性值

屬性

適用於