Invalid filter

Invalid filter

Postby 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.
AudioPat
 
Posts: 10
Joined: Fri 19 Jun 2015 15:47

Re: Invalid filter

Postby 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 .
AlexP
Devart Team
 
Posts: 5525
Joined: Tue 10 Aug 2010 11:35


Return to EntityDAC