Represents a column for the ORDER BY clause.
Default constructor
public Void OrderColumn()
Initializes a new instance of OrderColumn.
public Void OrderColumn(column, direction)
Name | Type | Summary |
---|---|---|
column | Column | Column to sort on. |
direction | SortDirection | Sort direction. |
Initializes a new instance of OrderColumn.
public Void OrderColumn(field, repository, direction)
Name | Type | Summary |
---|---|---|
field | Field | Column configuration. |
repository | Repository | Repository to which the column belongs to. |
direction | SortDirection | Sort direction. |
Type | Summary |
---|---|
ArgumentNullException | Thrown when field is null. |
Initializes a new instance of OrderColumn.
public Void OrderColumn(field, direction)
Name | Type | Summary |
---|---|---|
field | Field | Column configuration. |
direction | SortDirection | Sort direction. |
Type | Summary |
---|---|
ArgumentNullException | Thrown when field is null. |
Initializes a new instance of OrderColumn.
public Void OrderColumn(fieldName, direction)
Name | Type | Summary |
---|---|---|
fieldName | String | Column name. |
direction | SortDirection | Sort direction |
Initializes a new instance of OrderColumn.
public Void OrderColumn(fieldName, repository, direction)
Name | Type | Summary |
---|---|---|
fieldName | String | Column name. |
repository | Repository | Repository to which the column belongs to. |
direction | SortDirection | Sort direction. |
Get or set the direction of ordering.
public SortDirection Direction { get; set; }
In this document