Page 1 of 1

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

Posted: Wed 29 Nov 2017 09:27
by lonwern
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"

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

Posted: Fri 01 Dec 2017 10:07
by Shalex
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.

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

Posted: Fri 30 Mar 2018 17:15
by Shalex
The bug with using bool properties in the Where() clause of LINQ query in EF Core 2 is fixed starting from v9.5.429: https://www.devart.com/dotconnect/oracl ... story.html.