Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IHibernateOperations.SaveOrUpdateAll Method

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

[Visual Basic]
Public Sub SaveOrUpdateAll( _
   ByVal entities As ICollection _
)
[C#]
void SaveOrUpdateAll(
   ICollection entities
);

Parameters

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

Exceptions

Exception Type Condition
DataAccessException In case of Hibernate errors

See Also

IHibernateOperations Interface | Spring.Data.NHibernate Namespace