Share via


EntityContainer.Clear Method

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Clears the contents of all EntitySet objects in this container.

Namespace:  System.ServiceModel.DomainServices.Client
Assembly:  System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)

Syntax

'Declaration
Public Sub Clear
'Usage
Dim instance As EntityContainer

instance.Clear()
public void Clear()
public:
void Clear()
member Clear : unit -> unit 
public function Clear()

See Also

Reference

EntityContainer Class

System.ServiceModel.DomainServices.Client Namespace