EntityCollection<TEntity>.Clear Method ()

 

Removes all entities from the collection.

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

public void Clear()