1 write to SortComparison
System.Data.Common (1)
System\Data\LinqDataView.cs (1)
240
base.
SortComparison
= null;
16 references to SortComparison
System.Data.Common (16)
System\Data\DataView.cs (4)
1585
if (null !=
SortComparison
)
1588
newIndex = new Index(_table,
SortComparison
, ((DataViewRowState)_recordStates), GetFilter());
1764
!ReferenceEquals(
SortComparison
, view.
SortComparison
) ||
System\Data\LinqDataView.cs (12)
112
Debug.Assert(!(!string.IsNullOrEmpty(base.Sort) && base.
SortComparison
!= null),
119
else if (base.
SortComparison
== null) // neither string or expr set
148
if (base.
SortComparison
== null && string.IsNullOrEmpty(base.Sort))
153
else if (base.
SortComparison
!= null && key.Length != sortExpressionBuilder!.Count)
158
if (base.
SortComparison
== null)
188
if (base.
SortComparison
== null && string.IsNullOrEmpty(base.Sort))
193
else if (base.
SortComparison
!= null && key.Length != sortExpressionBuilder!.Count)
198
if (base.
SortComparison
== null)// using string to sort
221
if ((base.
SortComparison
!= null || base.RowPredicate != null) && newRowStates != DataViewRowState.CurrentRows)
251
return (base.
SortComparison
== null) ? base.GetSortProperty() : null;
263
if (base.
SortComparison
== null)
281
return !(base.
SortComparison
== null && base.Sort.Length == 0);