ConventionPrimitivePropertyConfiguration.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 virtual ConventionPrimitivePropertyConfiguration IsRowVersion()

Calling this will have no effect once it has been configured. This method throws if the property is not a T:Byte[].