Share via


EntityDescriptor.ETag Property

Gets an eTag value that indicates the state of data targeted for update since the last call to SaveChanges.

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

Syntax

'Declaration
Public Property ETag As String 
    Get 
    Friend Set
'Usage
Dim instance As EntityDescriptor 
Dim value As String 

value = instance.ETag
public string ETag { get; internal set; }
public:
property String^ ETag {
    String^ get ();
    internal: void set (String^ value);
}
member ETag : string with get, internal set
function get ETag () : String 
internal function set ETag (value : String)

Property Value

Type: System.String
The state of data.

Remarks

The eTag associated with the entity is used to represent original values for use with optimistic concurrency checks according to eTag rules in HTTP RFC 2616.

The value may be empty or null. Null represents the case in which no eTag is currently associated with the entity.

See Also

Reference

EntityDescriptor Class

System.Data.Services.Client Namespace