Page 1 of 1

Invalid filter

Posted: Wed 20 Jan 2016 18:26
by AudioPat
Hello,

First one: Thanks for the new version 1.4.8 today.
Question about using this new version:

The IEntityEnumerable<Where>.ToList or Single/SingleOrDefault returns a Invalid filter AV:

Example:

Code: Select all

var
  LCustomerExp: ICustomerExpression;  
  LCustomers: IEntityEnumerable<TCustomer>;
  LList: TList<TCustomer>;
begin
  LCustomerExp := DataContext.Customer;
  LCustomers := Database.CustomerList;

  LList := LCustomers.Where(LCustomerExp.Code.Contains('%' + control.text + '%')).ToList; // <-- This returns a Invalid Filter AV.
end;
Thanks.

Re: Invalid filter

Posted: Thu 21 Jan 2016 06:28
by AlexP
Hello,

Thank you for the information. We have already fixed the problem, and we can send you a night build in order for you to check this case on your sample. For this, please send your license number to alexp*devart*com .