Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

HibernateTemplate.SaveOrUpdateAll Method

Save or update all given persistent instances, according to its id (matching the configured "unsaved-value"?).

[Visual Basic]
Public NotOverridable Sub SaveOrUpdateAll( _
   ByVal entities As ICollection _
) _
    Implements IHibernateOperations.SaveOrUpdateAll
[C#]
public void SaveOrUpdateAll(
   ICollection entities
);

Parameters

entities
Tthe persistent instances to save or update (to be associated with the Hibernate Session)he entities.

Implements

IHibernateOperations.SaveOrUpdateAll

Exceptions

Exception Type Condition
DataAccessException In case of Hibernate errors

See Also

HibernateTemplate Class | Spring.Data.NHibernate Namespace