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,
	Object value,
	IType type
)
Visual Basic
Function Delete ( _
	query As String, _
	value As Object, _
	type As IType _
) As Integer
Visual C++
int Delete(
	String^ query, 
	Object^ value, 
	IType^ type
)

Parameters

query
Type: System..::..String
The query string
value
Type: System..::..Object
A value to be written to a "?" placeholer in the query
type
Type: NHibernate.Type..::..IType
The hibernate type of value.

Return Value

The number of instances deleted

See Also