PropertyBuilder.IsRowVersion Method

Definition

C#
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder IsRowVersion ();

Returns

The same builder instance so that multiple configuration calls can be chained.

Remarks

Database providers can choose to interpret this in different way, but it is commonly used to indicate some form of automatic row-versioning as used for optimistic concurrency detection.

Applies to

Product Versions
Entity Framework Core 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0