How to: Represent Columns as Timestamp or Version Columns

Use the LINQ to SQL IsVersion property of the ColumnAttribute attribute to designate a field or property as representing a database column that holds database timestamps or version numbers.

For code examples, see IsVersion.

To designate a field or property as representing a timestamp or version column

  1. Add the IsVersion property to the ColumnAttribute attribute.

  2. Set the IsVersion property value to true.

See Also

The LINQ to SQL Object Model
How to: Specify Which Members are Tested for Concurrency Conflicts
How to: Customize Entity Classes by Using the Code Editor