I'm developing a .net core web API which use database oracle and data provider devart when I try to get some data on login operation I have a this problem
{"ORA-00923: FROM keyword not found where expected"}
my code drop catch on this line throw exception
var result = db.tables.Where(x => x.code== userParams.code&& x.password == userParams.Password).FirstOrDefault();
I changed after the where funtion I tried
.First()
.SingleOrDefault()
.FirstOrDefault()
Also, I tried then that worked but I think this functions illogical
.SingleOrDefault()
.Take(1)
My versions
.net core 3.1
OracleDB version 11g
EFCore Devart
EF 3.1
Anyone can know anything about this problem?