Delen via


IReadOnlyProperty.GetValueGeneratorFactory Method

Definition

Gets the factory that has been set to generate values for this property, if any.

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)

Returns

The factory, or null if no factory has been set.

Applies to