BinaryPropertyConfiguration.IsRowVersion Method ()

 

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.

Namespace:   System.Data.Entity.ModelConfiguration.Configuration
Assembly:  EntityFramework (in EntityFramework.dll)

public BinaryPropertyConfiguration IsRowVersion()

Return Value

Type: System.Data.Entity.ModelConfiguration.Configuration.BinaryPropertyConfiguration

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