Click or drag to resize
DataQuerySettingsBaseTQueryFirstResult Method

Note: This API is now obsolete.

Sets the query as a single object query (i.e. limits the number of fetched rows to 1).

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax
C#
[ObsoleteAttribute("Use TopN(1) instead. FirstResult() is equivalent to TopN(1), but FirstResult() can be easily confused with property FirstObject in some derived classes, which is not the same.")]
public TQuery FirstResult()

Return Value

Type: TQuery

Implements

IDataQuerySettingsTQueryFirstResult
See Also