Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ICommonHibernateOperations.Delete(Object) Method

Delete the given persistent instance.

[Visual Basic]
Public Sub Delete( _
   ByVal entity As Object _
)
[C#]
void Delete(
   object entity
);

Parameters

entity
The persistent instance to delete.

Exceptions

Exception Type Condition
DataAccessException In case of Hibernate errors

See Also

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