November Happy Hour will be moved to Thursday December 5th.

Class GroupByFunctionEval

Evaluates MIN, MAX, SUM, AVG, COUNT aggregate functions.

Inheritance
System.Object
GroupByFunctionEval
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.BusinessFoundation.Data.Meta.Management
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 13.30.0
Syntax
public class GroupByFunctionEval
Remarks

The GroupByFunctionEval class evaluates aggregate functions:s for custom group. Use RegisterMetaObject(MetaObject) to add object from the group. Use SaveValues(MetaObject) to save aggregate functions result to object. Use Reset() to reset aggregate functions result.

Constructors

GroupByFunctionEval(List<GroupByObjectField>)

Declaration
public GroupByFunctionEval(List<GroupByObjectField> fields)
Parameters
Type Name Description
System.Collections.Generic.List<GroupByObjectField> fields

Properties

FieldFunctions

Gets the owner element.

Declaration
protected Dictionary<string, string> FieldFunctions { get; }
Property Value
Type Description
System.Collections.Generic.Dictionary<System.String, System.String>

The owner element.

InnerValues

Gets the inner values.

Declaration
protected Dictionary<string, object> InnerValues { get; }
Property Value
Type Description
System.Collections.Generic.Dictionary<System.String, System.Object>

The inner values.

Methods

RegisterMetaObject(MetaObject)

Registers the meta object.

Declaration
public void RegisterMetaObject(MetaObject metaObject)
Parameters
Type Name Description
MetaObject metaObject

The meta object.

Reset()

Resets this instance.

Declaration
public void Reset()

SaveValues(MetaObject)

Saves the values.

Declaration
public void SaveValues(MetaObject metaObject)
Parameters
Type Name Description
MetaObject metaObject

The meta object.