Udostępnij za pośrednictwem


TrackingMode Enumeration

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

Determines whether changes that are made to a DataServiceCollection<T> are tracked.

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

Syntax

'Declaration
Public Enumeration TrackingMode
public enum TrackingMode

Members

Member name Description
None Changes made to items in the DataServiceCollection<T> are not tracked automatically by the client.
AutoChangeTracking Changes to items in the DataServiceCollection<T> are automatically tracked by the client.

Remarks

The TrackingMode enumeration specifies whether or not changes that are made to items in the collection are tracked automatically.

Values from the TrackingMode enumeration are used when you create a new instance of the DataServiceCollection<T> class.

Version Information

Silverlight

Supported in: 5, 4

Platforms

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