Execute the sql managed by this executor using the given parameters.

Namespace: NHibernate.Hql.Ast.ANTLR.Exec
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
int Execute(
	QueryParameters parameters,
	ISessionImplementor session
)
Visual Basic
Function Execute ( _
	parameters As QueryParameters, _
	session As ISessionImplementor _
) As Integer
Visual C++
int Execute(
	QueryParameters^ parameters, 
	ISessionImplementor^ session
)

Parameters

parameters
Type: NHibernate.Engine..::..QueryParameters
Essentially bind information for this processing.
session
Type: NHibernate.Engine..::..ISessionImplementor
The session originating the request.

Return Value

The number of entities updated/deleted.

Exceptions

See Also