public static ComputeNotAggregate ( string expr ) : |
||
expr | string | |
리턴 |
public static Exception ComputeNotAggregate(string expr)
{
return _Eval(SR.Format(SR.Expr_ComputeNotAggregate, expr));
}
// 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)); }