Perform a bulk update/delete operation given the underlying query defintion.
Namespace: NHibernate.HqlAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
int ExecuteUpdate( QueryParameters queryParameters, ISessionImplementor session ) |
Visual Basic |
---|
Function ExecuteUpdate ( _ queryParameters As QueryParameters, _ session As ISessionImplementor _ ) As Integer |
Visual C++ |
---|
int ExecuteUpdate( QueryParameters^ queryParameters, ISessionImplementor^ session ) |
Parameters
- queryParameters
- Type: NHibernate.Engine..::..QueryParameters
The query bind parameters.
- session
- Type: NHibernate.Engine..::..ISessionImplementor
The session owning this query.
Return Value
The number of entities updated or deleted.Exceptions
Exception | Condition |
---|---|
NHibernate..::..HibernateException |