Definition at line 148 of file AggregateNode.cs.
149 {
151 {
152 throw ExprException.AggregateUnbound(
ToString());
153 }
156 {
159 }
160 else
161 {
163 {
164 throw ExprException.EvalNoContext();
165 }
167 {
168 throw ExprException.AggregateUnbound(
ToString());
169 }
171 }
173 {
175 }
177 for (
int i = 0;
i <
array.Length;
i++)
178 {
179 if (
array[i].RowState == DataRowState.Deleted)
180 {
181 if (DataRowAction.Rollback !=
array[i]._action)
182 {
183 continue;
184 }
186 }
187 else if (DataRowAction.Rollback ==
array[i]._action &&
array[i].RowState == DataRowState.Added)
188 {
189 continue;
190 }
192 {
193 list.Add(
array[i].GetRecordFromVersion(version));
194 }
195 }
198 }
readonly AggregateType _type
object GetAggregateValue(int[] records, AggregateType kind)
override void CopyTo(Array ar, int index)
References System.Data.AggregateNode._childTable, System.Data.AggregateNode._column, System.Data.AggregateNode._local, System.Data.AggregateNode._relation, System.Data.AggregateNode._type, System.Data.ExprException.AggregateUnbound(), System.array, System.Data.DataRowCollection.CopyTo(), System.Data.DataRowCollection.Count, System.Data.ExprException.EvalNoContext(), System.Data.DataColumn.GetAggregateValue(), System.list, System.Data.DataTable.Rows, and System.ToString.