Specifies the field to sort the table/collection by in ascending or descending order.
If the TableJoinAttribute has been specified then the sort order can be
specified on the joined table field.
Namespace: DatabaseObjectsAssembly: DatabaseObjects (in DatabaseObjects.dll) Version: 3.8.1.0
Syntax
C# |
---|
public OrderByFieldAttribute( string strOrderByFieldName, OrderBy eOrder ) |
Visual Basic |
---|
Public Sub New ( _ strOrderByFieldName As String, _ eOrder As OrderBy _ ) |
Visual C++ |
---|
public: OrderByFieldAttribute( String^ strOrderByFieldName, OrderBy eOrder ) |
Parameters
- strOrderByFieldName
- Type: System..::..String
[Missing <param name="strOrderByFieldName"/> documentation for "M:DatabaseObjects.OrderByFieldAttribute.#ctor(System.String,DatabaseObjects.SQL.OrderBy)"]
- eOrder
- Type: DatabaseObjects.SQL..::..OrderBy
[Missing <param name="eOrder"/> documentation for "M:DatabaseObjects.OrderByFieldAttribute.#ctor(System.String,DatabaseObjects.SQL.OrderBy)"]