asp.net - Applying like filter to an IQueryable -
i'm trying write custom filter dynamic data allow me run type queries on entity columns. example searching john on name field returen johnson, johns etc.
i'm trying override iqueryable getqueryable(iqueryable source)
method on queryablefilterusercontrol
class. filter results. know best way of achieving this?
if , iqueryable<t>
easy return results of .where() clause.
there applyequalityfilter(iqueryable source, string column.name, object value)
method on queryablefilterusercontrol class performs direct comparison.
any appreciated.
have @ sample here five cool filters dynamic data 4
also not in both linq sql , entity framework contains mapped '%term%' in sql.
Comments
Post a Comment