ETagAttribute Class

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

Inheritance Hierarchy
SystemObject
   SystemAttribute
    System.Data.ServicesETagAttribute

Namespace:   System.Data.Services
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)
Syntax
<[%$TOPIC/cc646899_en-us_VS_113_2_0_0_0_0%]([%$TOPIC/cc646899_en-us_VS_113_2_0_0_0_1%].Class, AllowMultiple := False, Inherited := True)> _
Public NotInheritable Class ETagAttribute _
	Inherits [%$TOPIC/cc646899_en-us_VS_113_2_0_0_0_2%]
Dim instance As ETagAttribute
[[%$TOPIC/cc646899_en-us_VS_113_2_0_2_0_0%]([%$TOPIC/cc646899_en-us_VS_113_2_0_2_0_1%].Class, AllowMultiple = false, Inherited = true)]
public sealed class ETagAttribute : [%$TOPIC/cc646899_en-us_VS_113_2_0_2_0_2%]
[[%$TOPIC/cc646899_en-us_VS_113_2_0_3_0_0%]([%$TOPIC/cc646899_en-us_VS_113_2_0_3_0_1%]::Class, AllowMultiple = false, Inherited = true)]
public ref class ETagAttribute sealed : public [%$TOPIC/cc646899_en-us_VS_113_2_0_3_0_2%]
[<SealedAttribute>]
[<[%$TOPIC/cc646899_en-us_VS_113_2_0_4_0_0%]([%$TOPIC/cc646899_en-us_VS_113_2_0_4_0_1%].Class, AllowMultiple = false, Inherited = true)>]
type ETagAttribute =  
    class 
        inherit [%$TOPIC/cc646899_en-us_VS_113_2_0_4_0_2%] 
    end
public final class ETagAttribute extends [%$TOPIC/cc646899_en-us_VS_113_2_0_5_0_0%]

The ETagAttribute type exposes the following members.

Constructors
  NameDescription
Public method ETagAttribute(String)Initializes a new instance of the ETagAttribute class.
Public method ETagAttribute(String)Initializes a new instance of the ETagAttribute class.
Top
Properties
  NameDescription
Public property PropertyNamesGets the names of properties used in the ETagAttribute.
Public property TypeId (Inherited from Attribute.)
Top
Methods
  NameDescription
Public method Equals (Inherited from Attribute.)
Public method GetHashCode (Inherited from Attribute.)
Public method GetType (Inherited from Object.)
Public method IsDefaultAttribute (Inherited from Attribute.)
Public method Match (Inherited from Attribute.)
Public method ToString (Inherited from Object.)
Top
Remarks

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).

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