Share via


BinaryPropertyConfiguration.IsRowVersion Method

Definition

Configures the property to be a row version in the database. The actual data type will vary depending on the database provider being used. Setting the property to be a row version will automatically configure it to be an optimistic concurrency token.

public System.Data.Entity.ModelConfiguration.Configuration.BinaryPropertyConfiguration IsRowVersion ();
member this.IsRowVersion : unit -> System.Data.Entity.ModelConfiguration.Configuration.BinaryPropertyConfiguration
Public Function IsRowVersion () As BinaryPropertyConfiguration

Returns

The same BinaryPropertyConfiguration instance so that multiple calls can be chained.

Applies to