PropertyBuilder<TProperty>.IsRowVersion Method

Definition

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<TProperty> IsRowVersion ();
override this.IsRowVersion : unit -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<'Property>
Public Overridable Function IsRowVersion () As PropertyBuilder(Of TProperty)

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