Show / Hide Table of Contents

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 instead.

Inheritance
Object
QueryElement
Argument
Aggregation
Distinct
Implements
ICloneable
Inherited Members
Aggregation._arg
Aggregation.GetMainField()
Aggregation.ArgumentObject
Argument.Equal(Argument)
Argument.UnEqual(Argument)
Argument.LessThan(Argument)
Argument.LessThanOrEqual(Argument)
Argument.GreaterThan(Argument)
Argument.GreaterThanOrEqual(Argument)
Argument.Like(Argument)
Argument.Like(String)
Argument.NotLike(Argument)
Argument.NotBetween(Argument, Argument)
Argument.Between(Argument, Argument)
Argument.In(Argument[])
Argument.HasAny(Argument[])
Argument.HasAll(Argument[])
Argument.MissingAny(Argument[])
Argument.MissingAll(Argument[])
Argument.IsNull()
Argument.IsNotNull()
Argument.NotIn(Argument[])
Argument.ToArgumentArray<T>(T[])
Argument.ToArgumentArray<T>(T[], Boolean)
Argument.GetSubElements()
Argument.Alias
Argument.DataType
Argument.Size
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
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 instead.

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
QueryElement.Clone()
Remarks

This method is used by the to modify a query with sentry extensions without affecting the original query.

ToString()

String output.

Declaration
public override string ToString()
Returns
Type Description
String

DISTINCT(a)

Overrides
Object.ToString()

Implements

System.ICloneable

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top