ValueGenerator.NextValue(EntityEntry) Method

Definition

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

protected abstract object NextValue (Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry entry);
protected abstract object? NextValue (Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry entry);
abstract member NextValue : Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry -> obj
Protected MustOverride 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

The generated value.

Remarks

See EF Core value generation for more information and examples.

Applies to