Searches and returns the 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
- criterias
- array<ICriterion>[]()
The criteria expression
Return Value
A targetType instance or null
See Also
ActiveRecordMediator Class
Castle.ActiveRecord Namespace