Class Distinct
Distinct describes the Distinct part of a sql-command. Note that the field passed in, simply becomes
a return field and DOES NOT influence the outcome of the DISTINCT operation, which always
applies to the entire row.
For that kind of DISTINCT, use
Implements
Inherited Members
Namespace: SuperOffice.Data.SQL
Assembly: SoDataBase.dll
Syntax
public sealed class Distinct : Aggregation, ICloneable
Constructors
Distinct(FieldInfo)
Initializes a new instance of the Distinct class.
Declaration
public Distinct(FieldInfo field)
Parameters
Type | Name | Description |
---|---|---|
FieldInfo | field | This field simply becomes part of the return fields list. It DOES NOT influence the outcome of the DISTINCT operation, which always applies to the entire row. |
Remarks
Note that the field passed in, simply becomes
a return field and DOES NOT influence the outcome of the DISTINCT operation, which always
applies to the entire row.
For that kind of DISTINCT, use
Methods
Clone()
Clone the query. Parameter values are shared between the original and the clone.
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
Object | Copy of the DISTINCT node |
Overrides
Remarks
This method is used by the
ToString()
String output.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | DISTINCT(a) |