ValueGenerator<TValue>.NextValue(EntityEntry) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value to be assigned to a property.
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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework