EntityCollection<TEntity>::Clear Method ()

 

Removes all entities from the collection.

Namespace:   System.Data.Objects.DataClasses
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public:
virtual void Clear() sealed

Clear does the following:

.NET Framework
Available since 3.5
Return to top
Show: