Bagikan melalui


EntityDescriptor.ETag Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

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

Syntax

'Declaration
Public Property ETag As String
public string ETag { get; internal set; }

Property Value

Type: System.String
A string value that indicates 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 nulla null reference (Nothing in Visual Basic). Null represents the case in which no eTag is currently associated with the entity.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.