Export (0) Print
Expand All

ETagAttribute Class

This attribute on an entity type is used to specify the properties that determine changes in content.

System.Object
  System.Attribute
    System.Data.Services.ETagAttribute

Namespace:  System.Data.Services
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public sealed class ETagAttribute : Attribute

The ETagAttribute type exposes the following members.

  NameDescription
Public methodETagAttribute(String)Initializes a new instance of the ETagAttribute class.
Public methodETagAttribute(String[])Initializes a new instance of the ETagAttribute class.
Top

  NameDescription
Public propertyPropertyNamesGets the names of properties used in the ETagAttribute.
Public propertyTypeId (Inherited from Attribute.)
Top

  NameDescription
Public methodEquals (Inherited from Attribute.)
Public methodGetHashCode (Inherited from Attribute.)
Public methodGetType (Inherited from Object.)
Public methodIsDefaultAttribute (Inherited from Attribute.)
Public methodMatch (Inherited from Attribute.)
Public methodToString (Inherited from Object.)
Top

Optimistic concurrency checks are enabled on a per type basis in WCF Data Services. For more information, see Making Changes to Data (WCF Data Services).

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:
© 2014 Microsoft