Table of Contents

Method GetSortExpression

Namespace
Innova.Data.Mapper
Assembly
Innova.Data.dll

GetSortExpression<T, TResult>(string)

Gets the sort expression for the specified property name.

public LambdaExpression GetSortExpression<T, TResult>(string propertyName)

Parameters

propertyName string

The name of the property.

Returns

LambdaExpression

The sort expression.

Type Parameters

T

The type of the object.

TResult

The type of the property.