Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ICommonHibernateOperations.Delete(String) Method

Delete all objects returned by the query.

[Visual Basic]
Public Sub Delete( _
   ByVal queryString As String _
)
[C#]
int Delete(
   string queryString
);

Parameters

queryString
a query expressed in Hibernate's query language.

Return Value

The number of entity instances deleted.

Exceptions

Exception Type Condition
DataAccessException In case of Hibernate errors

See Also

ICommonHibernateOperations Interface | Spring.Data.NHibernate Namespace | ICommonHibernateOperations.Delete Overload List