// Helper for the DataTable.Compute method internal override object Eval(int[] records) { if (_childTable == null) { throw ExprException.AggregateUnbound(ToString()); } if (!_local) { throw ExprException.ComputeNotAggregate(ToString()); } return(_column.GetAggregateValue(records, _type)); }
// Helper for the DataTable.Compute method internal override object Eval(int[] records) { #if DEBUG if (CompModSwitches.AggregateNode.TraceVerbose) { Debug.WriteLine("Eval " + this.ToString()); } #endif if (table == null) { throw ExprException.AggregateUnbound(this.ToString()); } if (!local) { throw ExprException.ComputeNotAggregate(this.ToString()); } return(column.GetAggregateValue(records, type)); }
internal override object Eval(int[] recordNos) { throw ExprException.ComputeNotAggregate(ToString()); }