Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ICommonHibernateOperations.Save(Object) Method

Persist the given transient instance.

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

Parameters

entity
The transient instance to persist.

Return Value

The generated identifier.

Exceptions

Exception Type Condition
DataAccessException In case of Hibernate errors

See Also

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