Suoranta.EnterpriseLib.Web - Developer API

RangeFilter..::..GetWhereExpression<(Of <(<'TEntity>)>)> Method (String, RangeFilterMode)

Get expression for LINQ Where filter based on time range

Namespace:  Suoranta.EnterpriseLib.Linq.Filters
Assembly:  Suoranta.EnterpriseLib (in Suoranta.EnterpriseLib.dll)

Syntax


public Expression<Func<TEntity, bool>> GetWhereExpression<TEntity>(
	string targetPropPrefix,
	RangeFilterMode mode
)

Type Parameters

TEntity

Parameters

targetPropPrefix
Type: String
mode
Type: Suoranta.EnterpriseLib.Linq.Filters..::..RangeFilterMode

Return Value