9 references to Count
System.Data.Common (9)
System\Data\EnumerableRowCollection.cs (2)
220
if ((null != finalPredicate) && (0 < _sortExpression.
Count
))
249
else if (0 < _sortExpression.
Count
)
System\Data\LinqDataView.cs (6)
126
if (sortExpressionBuilder!.
Count
!= 1)
127
throw DataSetUtil.InvalidOperation(SR.Format(SR.LDV_InvalidNumOfKeys, sortExpressionBuilder.
Count
));
153
else if (base.SortComparison != null && key.Length != sortExpressionBuilder!.
Count
)
155
throw DataSetUtil.InvalidOperation(SR.Format(SR.LDV_InvalidNumOfKeys, sortExpressionBuilder.
Count
));
193
else if (base.SortComparison != null && key.Length != sortExpressionBuilder!.
Count
)
195
throw DataSetUtil.InvalidOperation(SR.Format(SR.LDV_InvalidNumOfKeys, sortExpressionBuilder.
Count
));
System\Data\SortExpressionBuilder.cs (1)
97
Debug.Assert(a != null && b != null && a.Count ==
Count
);