TCriteria.UniqueResult<E> Method
Executes the query and returns a single unique result, or nil if no results are found.
Remarks
Raises an exception if more than one distinct result is returned. The criteria object may be automatically destroyed after this call depending on the AutoDestroy setting.
Syntax
Unit: Aurelius.Criteria.Base
function TCriteria.UniqueResult: E;
Type Parameters
| Type Parameter | Description |
|---|---|
| E | The entity or result class type. |