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
| C# |
|---|
public static T FindOne( DetachedCriteria criteria ) |
Parameters
- criteria
- DetachedCriteria
The criteria
Return Value
A targetType instance or null
See Also
Castle.ActiveRecord Namespace