Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Disables the DataServiceContext tracking of all items in the collection.
Namespace: System.Data.Services.Client
Assembly: Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)
Syntax
'Declaration
Public Sub Detach
'Usage
Dim instance As DataServiceCollection
instance.Detach()
public void Detach()
public:
void Detach()
member Detach : unit -> unit
public function Detach()
Remarks
The Detach method can only be called when DataServiceCollection<T> is the root collection.
When the Detach method is called on a collection that is a root collection, tracking is also stopped for all related objects in the data graph.