ValueGenerator<TValue>.NextValue(EntityEntry) Metodo

Definizione

Ottiene un valore da assegnare a una proprietà.

protected override object NextValue (Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry entry);
protected override object? NextValue (Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry entry);
override this.NextValue : Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry -> obj
Protected Overrides Function NextValue (entry As EntityEntry) As Object

Parametri

entry
EntityEntry

Voce di rilevamento delle modifiche dell'entità per cui viene generato il valore.

Restituisce

Valore da assegnare a una proprietà.

Commenti

Per altre informazioni ed esempi, vedere Generazione di valori EF Core .

Si applica a