Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

HibernateTemplate.Delete(Object) Method

Delete the given persistent instance.

[Visual Basic]
Public NotOverridable Overloads Sub Delete( _
   ByVal entity As Object _
) _
    Implements ICommonHibernateOperations.Delete
[C#]
public void Delete(
   object entity
);

Parameters

entity
The persistent instance to delete.

Implements

ICommonHibernateOperations.Delete

Exceptions

Exception Type Condition
DataAccessException In case of Hibernate errors

See Also

HibernateTemplate Class | Spring.Data.NHibernate Namespace | HibernateTemplate.Delete Overload List