Problem with CONTAINS on multiple queries

Problem with CONTAINS on multiple queries

Postby seb1487 » Thu 06 Jul 2017 08:15

Hi,
dotConnect returns wrong elements when using CONTAINS multiple times - it returns always the same elements from the first usage. It seems that you are caching the values used the first time.

So if you execute the code
Code: Select all
var elements = dbContext.Class1.Where(o => selectedIds.Contains(o.Id)).ToList();

multiple times with different values in selectedIds, you will always get the elements from the first execution.

Democode can be downloaded here.
seb1487
 
Posts: 18
Joined: Fri 24 Jun 2016 10:27

Re: Problem with CONTAINS on multiple queries

Postby Shalex » Mon 10 Jul 2017 19:23

Thank you for your report. We will notify you when the issue is fixed.
Shalex
Devart Team
 
Posts: 7530
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for Oracle