Struct OrderField
A single field/direction step within a multi-field ordering.
Inherited Members
Namespace: Serenity.Persistence.Domain.ValueObjects
Assembly: Serenity.Global.Domain.dll
Syntax
public readonly struct OrderField
Constructors
OrderField(string, StructuredSortDirection)
Creates a new OrderField.
Declaration
public OrderField(string field, StructuredSortDirection direction)
Parameters
| Type | Name | Description |
|---|---|---|
| string | field | The field to order by. Cannot be null. |
| StructuredSortDirection | direction | The direction to order the field in. |
Fields
Direction
The direction to order Field in.
Declaration
public readonly StructuredSortDirection Direction
Field Value
| Type | Description |
|---|---|
| StructuredSortDirection |
Field
The field to order by.
Declaration
public readonly string Field
Field Value
| Type | Description |
|---|---|
| string |
Methods
ToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |