where syntax with MethodCallExpression

Aug 27, 2008 at 2:40 AM
sorry for my pool English first
i really like ur program

but my friend told me he had some problem about some syntax like this
------------------------
SystemIndex<SystemSearch> si = new SystemIndex<SystemSearch>();
var result = from SystemSearch t in si
where t.ItemName.Contains("blahblahblah")
select new { t.ItemPathDisplay };
---------------------

so i made some change
add at QueryParser.cs: 324 line
------------
else if (predicate.Body is MethodCallExpression)
{
MethodCallExpression mce = predicate.Body as MethodCallExpression;
result = ParseMethotCall(mce);
}
----------------

so my friend can make easy to do
and just hope other people can solve like that problem
Coordinator
Jan 11, 2009 at 4:52 PM

Thanks’ asin0622 for your contribution! I'll fix this bug ASAP!