Kentico 8.2 API Reference
Kentico 8.2 API Reference
Namespaces
CMS.DataEngine
DataQuerySettingsBase(TQuery) Class
DataQuerySettingsBase(TQuery) Methods
AddColumn Method
AddColumns Method
AddFilterColumn Method
AddHavingInternal Method
AnySettingsDefined Method
ApplyParametersTo Method
Column Method
Columns Method
CopyPropertiesTo Method
Distinct Method
FirstResult Method
GetExpressions Method
GroupBy Method
Having Method
NewGroupBy Method
NewHaving Method
NextPage Method
NoColumns Method
NotPaged Method
OrderBy Method
OrderByAscending Method
OrderByDescending Method
Page Method
PagedBy Method
ReplaceColumn Method
ReplaceOrderByColumn Method
ReplaceSelectedColumn Method
Take Method
Then Method
TopN Method
ToString Method
WithComment Method
DataQuerySettingsBase
TQuery
Distinct Method
Sets the query to use distinct selection over the given columns
Namespace:
CMS.DataEngine
Assembly:
CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
Copy
public
TQuery
Distinct
(
bool
distinct
=
true
)
Parameters
distinct
(Optional)
Type:
System
Boolean
If set to true, returns only distinct (different) values.
Return Value
Type:
TQuery
Implements
IDataQuerySettings
TQuery
Distinct(Boolean)
See Also
Reference
DataQuerySettingsBase
TQuery
Class
CMS.DataEngine Namespace
Copyright (c) 2015 Kentico Software
Send comments on this topic to
support@kentico.com