Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IHibernateOperations Members

IHibernateOperations overview

Public Instance Methods

DeleteAll Delete all given persistent instances.
ExecuteOverloaded. Execute the action specified by the given action object within a Session.
ExecuteFind Execute the specified action assuming that the result object is a List.
FindOverloaded. Execute a query for persistent instances.
FindByNamedParamOverloaded. Execute a query for persistent instances, binding one value to a named parameter in the query string.
FindByNamedQueryOverloaded. Execute a named query for persistent instances. A named query is defined in a Hibernate mapping file.
FindByNamedQueryAndNamedParamOverloaded. Execute a named query for persistent instances, binding one value to a named parameter in the query string. A named query is defined in a Hibernate mapping file.
FindByNamedQueryAndValueObject Execute a named query for persistent instances, binding the properties of the given object to named parameters in the query string. A named query is defined in a Hibernate mapping file.
FindByValueObject Execute a query for persistent instances, binding the properties of the given object to named parameters in the query string.
GetOverloaded. Return the persistent instance of the given entity type with the given identifier, or
null
if not found.
LoadOverloaded. Return the persistent instance of the given entity class with the given identifier, throwing an exception if not found.
LoadAll Return all persistent instances of the given entity class. Note: Use queries or criteria for retrieving a specific subset.
SaveOrUpdateAll Save or update all given persistent instances, according to its id (matching the configured "unsaved-value"?).

See Also

IHibernateOperations Interface | Spring.Data.NHibernate Namespace