Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IHibernateOperations.FindByValueObject Method

Execute a query for persistent instances, binding the properties of the given object to named parameters in the query string.

[Visual Basic]
Public Sub FindByValueObject( _
   ByVal queryString As String, _
   ByVal valueObject As Object _
)
[C#]
IList FindByValueObject(
   string queryString,
   object valueObject
);

Parameters

queryString
A query expressed in Hibernate's query language
valueObject
The values of the parameters

Return Value

A List containing 0 or more persistent instances

Exceptions

Exception Type Condition
DataAccessException In case of Hibernate errors

See Also

IHibernateOperations Interface | Spring.Data.NHibernate Namespace