Class GroupBy
The Divide class
Inherited Members
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 ... |