Table of Contents

Constructor OrderByClause

Namespace
MongoDB.Driver.Linq
Assembly
MongoDB.Driver.Legacy.dll

OrderByClause(LambdaExpression, OrderByDirection)

Initializes an instance of the OrderByClause class.

public OrderByClause(LambdaExpression key, OrderByDirection direction)

Parameters

key LambdaExpression

An expression identifying the key of the order by clause.

direction OrderByDirection

The direction of the order by clause.