Invalid filter
Posted: 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:
Thanks.
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;