Show / Hide Table of Contents

Class GroupBy

The Divide class

Inheritance
object
GroupBy
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: SuperOffice.Data.SQL
Assembly: SoDataBase.dll
Syntax
public sealed class GroupBy

Constructors

GroupBy()

Initializes a new instance of the GroupBy class.

Declaration
public GroupBy()

GroupBy(params FieldInfo[])

Initializes a new instance of the GroupBy class. Takes array of FieldInfo as groupBy properties

Declaration
public GroupBy(params FieldInfo[] groupFields)
Parameters
Type Name Description
FieldInfo[] groupFields

Properties

Grouping

MainTableName to get the GroupBy collection.

Declaration
public ArgumentCollection Grouping { get; }
Property Value
Type Description
ArgumentCollection

this[int]

Returns the Argument on a specific index.

Declaration
public Argument this[int index] { get; }
Parameters
Type Name Description
int index
Property Value
Type Description
Argument

Methods

Contains(FieldInfo)

Contains checks the GroupBy collection for a specific FieldInfo.

Declaration
public bool Contains(FieldInfo field)
Parameters
Type Name Description
FieldInfo field

The FieldInfo we want to know if exists or not.

Returns
Type Description
bool

Returns true if the FieldInfo exists, false if not.

GetNumberOfItems()

Get number of items in the collection.

Declaration
public int GetNumberOfItems()
Returns
Type Description
int

Number of items

ToString()

String output.

Declaration
public override string ToString()
Returns
Type Description
string

GROUP BY ...

Overrides
object.ToString()

Extension Methods

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