Bagikan melalui


IReadOnlyProperty.GetValueGeneratorFactory Metode

Definisi

Mendapatkan pabrik yang telah diatur untuk menghasilkan nilai untuk properti ini, jika ada.

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)

Mengembalikan

Pabrik, atau null jika tidak ada pabrik yang telah ditetapkan.

Berlaku untuk