Click or drag to resize

SqlStatementOrderByTExpression Method

Construct an order by

Namespace:  SanteDB.OrmLite
Assembly:  SanteDB.OrmLite (in SanteDB.OrmLite.dll) Version: 2.2.1
Syntax
public SqlStatement OrderBy<TExpression>(
	Expression<Func<TExpression, Object>> orderField,
	SortOrderType sortOperation = SortOrderType.OrderBy
)

Parameters

orderField
Type: System.Linq.ExpressionsExpressionFuncTExpression, Object

[Missing <param name="orderField"/> documentation for "M:SanteDB.OrmLite.SqlStatement.OrderBy``1(System.Linq.Expressions.Expression{System.Func{``0,System.Object}},SanteDB.Core.Model.Map.SortOrderType)"]

sortOperation (Optional)
Type: SanteDB.Core.Model.MapSortOrderType

[Missing <param name="sortOperation"/> documentation for "M:SanteDB.OrmLite.SqlStatement.OrderBy``1(System.Linq.Expressions.Expression{System.Func{``0,System.Object}},SanteDB.Core.Model.Map.SortOrderType)"]

Type Parameters

TExpression

[Missing <typeparam name="TExpression"/> documentation for "M:SanteDB.OrmLite.SqlStatement.OrderBy``1(System.Linq.Expressions.Expression{System.Func{``0,System.Object}},SanteDB.Core.Model.Map.SortOrderType)"]

Return Value

Type: SqlStatement

[Missing <returns> documentation for "M:SanteDB.OrmLite.SqlStatement.OrderBy``1(System.Linq.Expressions.Expression{System.Func{``0,System.Object}},SanteDB.Core.Model.Map.SortOrderType)"]

See Also