Click or drag to resize

SqlStatementOrderByTExpression Method

Construct an order by

Namespace:  SanteDB.DisconnectedClient.SQLite.Query
Assembly:  SanteDB.DisconnectedClient.SQLite (in SanteDB.DisconnectedClient.SQLite.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.DisconnectedClient.SQLite.Query.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.DisconnectedClient.SQLite.Query.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.DisconnectedClient.SQLite.Query.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.DisconnectedClient.SQLite.Query.SqlStatement.OrderBy``1(System.Linq.Expressions.Expression{System.Func{``0,System.Object}},SanteDB.Core.Model.Map.SortOrderType)"]

See Also