Invalid filter

Discussion of open issues, suggestions and bugs regarding EntityDAC
Post Reply
AudioPat
Posts: 10
Joined: Fri 19 Jun 2015 15:47

Invalid filter

Post by AudioPat » Wed 20 Jan 2016 18:26

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.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Invalid filter

Post by AlexP » Thu 21 Jan 2016 06:28

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 .

Post Reply