ValueGenerator<TValue>.Next(EntityEntry) Method

Definition

Template method to be overridden by implementations to perform value generation.

public abstract TValue Next (Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry entry);
override this.Next : Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry -> 'Value
Public MustOverride Function Next (entry As EntityEntry) As TValue

Parameters

entry
EntityEntry

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

Returns

TValue

The generated value.

Remarks

See EF Core value generation for more information and examples.

Applies to