Click or drag to resize

ExtensionMethodsOrderByDescendingTData, TKey Method

Order result set

Namespace:  SanteDB
Assembly:  SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 3.0.481-alpha
Syntax
public static IOrderableQueryResultSet<TData> OrderByDescending<TData, TKey>(
	this IQueryResultSet<TData> me,
	Expression<Func<TData, TKey>> sortExpression
)

Parameters

me
Type: SanteDB.Core.Model.QueryIQueryResultSetTData

[Missing <param name="me"/> documentation for "M:SanteDB.ExtensionMethods.OrderByDescending``2(SanteDB.Core.Model.Query.IQueryResultSet{``0},System.Linq.Expressions.Expression{System.Func{``0,``1}})"]

sortExpression
Type: System.Linq.ExpressionsExpressionFuncTData, TKey

[Missing <param name="sortExpression"/> documentation for "M:SanteDB.ExtensionMethods.OrderByDescending``2(SanteDB.Core.Model.Query.IQueryResultSet{``0},System.Linq.Expressions.Expression{System.Func{``0,``1}})"]

Type Parameters

TData

[Missing <typeparam name="TData"/> documentation for "M:SanteDB.ExtensionMethods.OrderByDescending``2(SanteDB.Core.Model.Query.IQueryResultSet{``0},System.Linq.Expressions.Expression{System.Func{``0,``1}})"]

TKey

[Missing <typeparam name="TKey"/> documentation for "M:SanteDB.ExtensionMethods.OrderByDescending``2(SanteDB.Core.Model.Query.IQueryResultSet{``0},System.Linq.Expressions.Expression{System.Func{``0,``1}})"]

Return Value

Type: IOrderableQueryResultSetTData

[Missing <returns> documentation for "M:SanteDB.ExtensionMethods.OrderByDescending``2(SanteDB.Core.Model.Query.IQueryResultSet{``0},System.Linq.Expressions.Expression{System.Func{``0,``1}})"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQueryResultSetTData. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
This interface prevents the default .NET IEnumerable OrderByDescending being called on a normal IQueryResultSet
See Also