Suoranta.EnterpriseLib.Web - Developer API

RangeFilter..::..GetWhereExpression<(Of <(<'TEntity>)>)> Method (String, 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 startProp,
	string endProp,
	RangeFilterMode mode
)

Type Parameters

TEntity

Parameters

startProp
Type: String
endProp
Type: String
mode
Type: Suoranta.EnterpriseLib.Linq.Filters..::..RangeFilterMode

Return Value