31 references to SortOrder
System.Data (31)
fx\src\data\Microsoft\SqlServer\Server\SmiMetaDataProperty.cs (3)
149
internal
SortOrder
Order;
168
order.Order =
SortOrder
.Unspecified;
197
if (System.Data.SqlClient.
SortOrder
.Unspecified != columnOrd.Order) {
fx\src\data\System\Data\Sql\SqlMetaData.cs (22)
44
private
SortOrder
m_columnSortOrder;
54
private const
SortOrder
x_defaultColumnSortOrder =
SortOrder
.Unspecified;
68
bool isUniqueKey,
SortOrder
columnSortOrder, int sortOrdinal) {
83
bool isUniqueKey,
SortOrder
columnSortOrder, int sortOrdinal) {
102
bool useServerDefault, bool isUniqueKey,
SortOrder
columnSortOrder, int sortOrdinal) {
115
bool isUniqueKey,
SortOrder
columnSortOrder, int sortOrdinal) {
130
bool isUniqueKey,
SortOrder
columnSortOrder, int sortOrdinal) {
138
SortOrder
columnSortOrder, int sortOrdinal) {
156
bool isUniqueKey,
SortOrder
columnSortOrder, int sortOrdinal) {
322
public
SortOrder
SortOrder {
412
bool isUniqueKey,
SortOrder
columnSortOrder, int sortOrdinal) {
459
bool isUniqueKey,
SortOrder
columnSortOrder, int sortOrdinal) {
526
SortOrder
columnSortOrder,
595
bool isUniqueKey,
SortOrder
columnSortOrder, int sortOrdinal ) {
631
bool isUniqueKey,
SortOrder
columnSortOrder, int sortOrdinal) {
656
string objectName, bool useServerDefault, bool isUniqueKey,
SortOrder
columnSortOrder,
691
private void ValidateSortOrder(
SortOrder
columnSortOrder, int sortOrdinal) {
693
if (
SortOrder
.Unspecified != columnSortOrder &&
694
SortOrder
.Ascending != columnSortOrder &&
695
SortOrder
.Descending != columnSortOrder) {
700
if ( (
SortOrder
.Unspecified == columnSortOrder) != (x_defaultSortOrdinal == sortOrdinal)) {
fx\src\data\System\Data\SqlClient\SqlParameter.cs (1)
1186
if (
SortOrder
.Unspecified != colMeta.SortOrder) {
fx\src\data\System\Data\SqlClient\SqlUtil.cs (3)
674
static internal Exception InvalidSortOrder(
SortOrder
order) {
675
return ADP.InvalidEnumerationValue(typeof(
SortOrder
), (int)order);
678
static internal Exception MustSpecifyBothSortOrderAndOrdinal(
SortOrder
order, int ordinal) {
fx\src\data\System\Data\SqlClient\TdsParser.cs (2)
9101
if (
SortOrder
.Ascending == columnOrder.Order) {
9104
else if (
SortOrder
.Descending == columnOrder.Order) {