ValueGenerator<TValue>.NextValue(EntityEntry) Method

Definition

Gets a value to be assigned to a property.

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

Parameters

entry
EntityEntry

The change tracking entry of the entity for which the value is being generated.

Returns

Object

The value to be assigned to a property.

Applies to