PropertyExtensions.GetValueGeneratorFactory(IProperty) Metodo

Definizione

Attenzione

Use IReadOnlyProperty.GetValueGeneratorFactory

Ottiene la factory impostata per generare valori per questa proprietà, se presenti.

public static Func<Microsoft.EntityFrameworkCore.Metadata.IProperty,Microsoft.EntityFrameworkCore.Metadata.IEntityType,Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator> GetValueGeneratorFactory (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
[System.Obsolete("Use IReadOnlyProperty.GetValueGeneratorFactory")]
public static Func<Microsoft.EntityFrameworkCore.Metadata.IProperty,Microsoft.EntityFrameworkCore.Metadata.IEntityType,Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator>? GetValueGeneratorFactory (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member GetValueGeneratorFactory : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Func<Microsoft.EntityFrameworkCore.Metadata.IProperty, Microsoft.EntityFrameworkCore.Metadata.IEntityType, Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator>
[<System.Obsolete("Use IReadOnlyProperty.GetValueGeneratorFactory")>]
static member GetValueGeneratorFactory : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Func<Microsoft.EntityFrameworkCore.Metadata.IProperty, Microsoft.EntityFrameworkCore.Metadata.IEntityType, Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator>
<Extension()>
Public Function GetValueGeneratorFactory (property As IProperty) As Func(Of IProperty, IEntityType, ValueGenerator)

Parametri

property
IProperty

Proprietà per cui ottenere la factory del generatore di valori.

Restituisce

Factory o null se non è stata impostata alcuna factory.

Attributi

Si applica a