I have a linq to entities query (EF 4.3)
var query = from item in db.TableTest
select item.VAL;
which translates to this SQL statement
SELECT
"Extent1"."VAL" AS "VAL"
FROM "dbo"."TEST_TABLE" "Extent1"
The database is Oracle.
When I execute the query I get the message that the datatable does not exist. The problem is the ("dbo") part. If i remove it and execute this query directly (not through LINQ but through an oracleconnection etc)
SELECT
"Extent1"."VAL" AS "VAL"
FROM "TEST_TABLE" "Extent1"
then everything is ok. I get values back.
How can I instruct Linq To Entities to output Oracle compatible SQL?