ETagAttribute::PropertyNames Property

 

Gets the names of properties used in the ETagAttribute.

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

public:
property ReadOnlyCollection<String^>^ PropertyNames {
	ReadOnlyCollection<String^>^ get();
}

Property Value

Type: System.Collections.ObjectModel::ReadOnlyCollection<String^>^

String value containing property names.

Parameters to the ETagAttribute constructors are the set of property names used to make up the eTag value for the type. If a type has eTags defined, the server automatically implements optimistic concurrency checks on all requests to the type. If a key property, complex type property, or navigation property is specified, an ArgumentException is thrown.

.NET Framework
Available since 3.5
Return to top
Show: