The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
DataServiceCollection<T>::Clear Method (Boolean)
.NET Framework (current version)
Removes all items from the collection, and optionally detaches all the items from the DataServiceContext.
Assembly: System.Data.Services.Client (in System.Data.Services.Client.dll)
Parameters
- stopTracking
-
Type:
System::Boolean
When true, detaches all items from the DataServiceContext.
When an item is detached, all related objects in the data graph are also detached from the DataServiceContext.
.NET Framework
Available since 3.5
Silverlight
Available since 4.0
Available since 3.5
Silverlight
Available since 4.0
Show: