Share via


ValueGenerator.Next(EntityEntry) Method

Definition

Gets a value to be assigned to a property.

public virtual object Next (Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry entry);
public virtual object? Next (Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry entry);
abstract member Next : Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry -> obj
override this.Next : Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry -> obj
Public Overridable Function Next (entry As EntityEntry) As Object

Parameters

entry
EntityEntry

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

Returns

The value to be assigned to a property.

Remarks

See EF Core value generation for more information and examples.

Applies to