Delete all objects returned by the query.

Namespace: NHibernate
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
int Delete(
	string query
)
Visual Basic
Function Delete ( _
	query As String _
) As Integer
Visual C++
int Delete(
	String^ query
)

Parameters

query
Type: System..::..String
The query string

Return Value

Returns the number of objects deleted.

See Also