Export (0) Print
Expand All

How to: Represent Columns as Timestamp or Version Columns (LINQ to SQL)

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.

Community Additions

ADD
Show:
© 2014 Microsoft