Class GroupByObjectField
Represents field of group by element.
Inheritance
Inherited Members
Namespace: Mediachase.BusinessFoundation.Data.Meta.Management
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 12.17.2Syntax
public class GroupByObjectField
Constructors
GroupByObjectField()
Initializes a new instance of the GroupByObjectField class.
Declaration
public GroupByObjectField()
GroupByObjectField(String)
Initializes a new instance of the GroupByObjectField class.
Declaration
public GroupByObjectField(string fieldName)
Parameters
Type | Name | Description |
---|---|---|
System.String | fieldName | Name of the field. |
GroupByObjectField(String, ValueSourceType, String)
Initializes a new instance of the GroupByObjectField class.
Declaration
public GroupByObjectField(string fieldName, ValueSourceType valueSourceType, string valueSource)
Parameters
Type | Name | Description |
---|---|---|
System.String | fieldName | Name of the field. |
ValueSourceType | valueSourceType | Type of the value source. |
System.String | valueSource | The value source. |
GroupByObjectField(String, ValueSourceType, String, Boolean)
Initializes a new instance of the GroupByObjectField class.
Declaration
public GroupByObjectField(string fieldName, ValueSourceType valueSourceType, string valueSource, bool hideChildValues)
Parameters
Type | Name | Description |
---|---|---|
System.String | fieldName | Name of the field. |
ValueSourceType | valueSourceType | Type of the value source. |
System.String | valueSource | The value source. |
System.Boolean | hideChildValues | if set to |
Fields
AvgFunction
Declaration
public const string AvgFunction = "AVG"
Field Value
Type | Description |
---|---|
System.String |
CountFunction
Declaration
public const string CountFunction = "COUNT"
Field Value
Type | Description |
---|---|
System.String |
MaxFunction
Declaration
public const string MaxFunction = "MAX"
Field Value
Type | Description |
---|---|
System.String |
MinFunction
Declaration
public const string MinFunction = "MIN"
Field Value
Type | Description |
---|---|
System.String |
SumFunction
Declaration
public const string SumFunction = "SUM"
Field Value
Type | Description |
---|---|
System.String |
Properties
HideChildValues
Gets or sets a value indicating whether [hide child values].
Declaration
public bool HideChildValues { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Name
Gets or sets the name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name. |
ValueSource
Gets or sets the value parameter.
Declaration
public string ValueSource { get; set; }
Property Value
Type | Description |
---|---|
System.String | The value parameter. |
ValueSourceType
Gets or sets the type of the value source.
Declaration
public ValueSourceType ValueSourceType { get; set; }
Property Value
Type | Description |
---|---|
ValueSourceType | The type of the value source. |