TimestampAttribute Class

[Note: This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Designates a member as a time stamp value.

Namespace:  System.ComponentModel.DataAnnotations
Assembly:  System.ComponentModel.DataAnnotations (in System.ComponentModel.DataAnnotations.dll)

[AttributeUsageAttribute(AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = false, 
	Inherited = true)]
public sealed class TimestampAttribute : Attribute

In a database table, a time stamp value is used for data versioning and does not represent an actual time. You apply this attribute to a property that contains a time stamp value from a database and therefore is not relevant to user input.

System.Object
  System.Attribute
    System.ComponentModel.DataAnnotations.TimestampAttribute

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: