Table of Contents

Method GetSortExpression

Namespace
Innova.Data.Entity
Assembly
Innova.Data.dll

GetSortExpression<T, TResult>(string)

Gets the sort expression for the specified property name.

LambdaExpression GetSortExpression<T, TResult>(string propertyName)

Parameters

propertyName string

The name of the property to sort by.

Returns

LambdaExpression

The sort expression.

Type Parameters

T

The source type.

TResult

The result type.