Searches and returns a row. If more than one is found,
throws ActiveRecordException
Namespace: Castle.ActiveRecord
Assembly: Castle.ActiveRecord (in Castle.ActiveRecord.dll)
Version: 1.0.3.0
Syntax
Parameters
- targetType
- Type
The target type
- criteria
- DetachedCriteria
The criteria
Return Value
A targetType instance or null
See Also
ActiveRecordBase Class
Castle.ActiveRecord Namespace