NShape Reference
DeleteAll Method

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape > IRepository Interface >

NShape Reference
DeleteAll Method

Previous pageReturn to chapter overviewNext page

Deletes the given object(s) including all child objects and contained objects from the repository.

Syntax

public void DeleteAll(Design design)
public void DeleteAll(Template template)
public void DeleteAll(Diagram diagram)
public void DeleteAll(Shape shape)
public void DeleteAll(IEnumerable<Shape> shapes)

Description

Deletes the given object(s) including all child objects and contained objects from the repository but you have to make sure that there are no objects left that reference the deleted one, e.g. a shape connected to one of the deleted shapes.

Remarks

You can enable consistency checks when linking the project "NShape" to your application's solution and add the conditional define REPOSITORY_CHECK.