Partager via


IReadOnlyProperty.GetValueGeneratorFactory Méthode

Définition

Obtient la fabrique qui a été définie pour générer des valeurs pour cette propriété, le cas échéant.

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)

Retours

La fabrique, ou null si aucune fabrique n’a été définie.

S’applique à