Delen via


PropertyBuilder.IsRowVersion Method

Definition

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder IsRowVersion ();
abstract member IsRowVersion : unit -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder
override this.IsRowVersion : unit -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder
Public Overridable Function IsRowVersion () As PropertyBuilder

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