v9.5.399, ef core, bool type causes Exception ORA-00920

v9.5.399, ef core, bool type causes Exception ORA-00920

Postby lonwern » Wed 29 Nov 2017 09:27

this happens on both net461 and netcoreapp2.0

code:
Code: Select all
dbContext.Users.Where(u => u.IsActive).ToList()

entity:
Code: Select all
public class User
{
    public string UserName { get; set; }
    public string Password { get; set; }
    public bool IsActive { get; set; }
}

generated sql:
Code: Select all
SELECT "u"."UserName", "u"."IsActive", "u"."Password"
FROM "Users" "u"
WHERE "u"."IsActive"
lonwern
 
Posts: 1
Joined: Wed 29 Nov 2017 08:22

Re: v9.5.399, ef core, bool type causes Exception ORA-00920

Postby Shalex » Fri 01 Dec 2017 10:07

The bug with using bool properties in the Where() clause of LINQ query in EF Core 2 is fixed. We will notify you when the corresponding public build is available.

We have sent the internal build (NuGet packages) with the fix to your email.
Shalex
Devart Team
 
Posts: 7833
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for Oracle