Page 1 of 1

Bug by FromSql in EfCore

Posted: Thu 02 Feb 2017 13:51
by seb1487
Hi Shalex,
the code

Code: Select all

var entryCount = dbContext.Class1.FromSql("Select * From \"Class1\"").Count();
throws a

Code: Select all

ORA-00933: SQL command not properly ended
Exception.

Democode can be downloaded here.

Re: Bug by FromSql in EfCore

Posted: Fri 03 Feb 2017 15:17
by Shalex
Thank you for your report. We will notify you when the bug is fixed.

Re: Bug by FromSql in EfCore

Posted: Thu 09 Feb 2017 19:45
by Shalex
The bug with using the .FromSql() functionality in EF Core is fixed: viewtopic.php?f=1&t=34950.