Click or drag to resize
ObjectQueryBaseTQuery, TObjectFirstObject Property
Returns first object from the query result DataSet. The property does not limit the actual number of fetched rows.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntax
Remarks

Accessing this property effectively results in performing the query (i.e. fetching all rows the query selects, if not already fetched) and returning the first object from the query result DataSet.

To limit the number of fetched rows use TopN(Int32).

See Also