Page 1 of 1

[EFCore 2.1] Exception Not supported type when using Contains

Posted: Fri 15 Jun 2018 16:17
by stephane.saquet
Hello,

When I make a request with a Where using Contains like this:

var productIds = new decimal[]{1,2,3};
IQueryable<Product> query = _dataContext.Set<Product>();
return await query.Where(m => productIds.Contains(m..ProductId)).ToListAsync();

It throws an exception:
System.NotSupportedException: 'Not supported type 'System.Decimal[]' of the parameter '__productIds_0'.'

Configuration:
AspNetCore 2.1
EF Core 2.1
Devart.Data.Oracle.EFCore 9.5.527

Re: [EFCore 2.1] Exception Not supported type when using Contains

Posted: Wed 20 Jun 2018 07:08
by Shalex
We have reproduced this issue with EF Core 2.1 and are investigating it.

Re: [EFCore 2.1] Exception Not supported type when using Contains

Posted: Mon 25 Jun 2018 11:24
by Shalex
The issue is fixed in the new (9.6.540) build of dotConnect for Oracle.