Deletes all rows for the specified ActiveRecord type that matches the supplied HQL condition

Namespace: Castle.ActiveRecord
Assembly:  Castle.ActiveRecord (in Castle.ActiveRecord.dll)
Version: 1.0.3.0

Syntax

C#
protected internal static void DeleteAll(
	Type type,
	string where
)

Parameters

type
Type
ActiveRecord type on which the rows on the database should be deleted
where
String
HQL condition to select the rows to be deleted

Remarks

This method is usually useful for test cases.

See Also