Entity framework with Firebird throws dynamic SQL error

entity-framework-6 firebird2.1

Question

I'm trapped by FbException.

SQL error code = -104

Token unknown - line 2, column 4

.

attempting to execute this code

var result = from x in _context.Bunts
                         select x;

I looked over the query that EF produced.

SELECT 
"A"."BUNTCODE" AS "BUNTCODE", 
"A"."BUNTNAME" AS "BUNTNAME", 
"A"."BUNTDIAM" AS "BUNTDIAM"
FROM "BUNTS" AS "A"

Server therefore believes that the dot following the "A" sentence is incorrect. But on the same system, same query works perfectly fine in IBExpert. How can this issue be solved?

I utilize:

Firebird server v2.1.6.18547

EntityFramework v6.0.0.0

EntityFramework.Firebird v4.5.2.0

FirebirdSql.Data.FirebirdClient 4.5.2.0

1
1
12/23/2014 12:35:52 PM

Accepted Answer

ZZZ_tmp
1
12/23/2014 2:31:59 PM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow