Created and Order by statement based on field name and direction.
Namespace:
Biolomics.SharedClasses
Assembly:
Biolomics.SharedClasses (in Biolomics.SharedClasses.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static XOrderBy OrderBy(
string p_FieldName,
XOrderByDirectionEnum p_Direction = XOrderByDirectionEnum.Ascending
)
Public Shared Function OrderBy (
p_FieldName As String,
Optional p_Direction As XOrderByDirectionEnum = XOrderByDirectionEnum.Ascending
) As XOrderBy
Parameters
- p_FieldName
- Type: SystemString
Name of the field. - p_Direction (Optional)
- Type: Biolomics.SharedClassesXOrderByDirectionEnum
The sort direction.
Return Value
Type:
XOrderByXOrderBy.
See Also