Page 1 of 1

Yat another simple query that doesn't work

Posted: Tue 28 Jul 2009 17:34
by edstaffin
I'm beginning to wonder if this product really works at all.
I create the simplest of queries:
Dim db As New MyDataContext
Dim qry = From item In db.Staffs Select p

based on a 1 table oracle database.

It won't compile complaining about:

Expression of type 'Devart.Data.Linq.Table(Of MyContext.MyStaff)' is not queryable. Make sure you are not missing an assembly reference and/or namespace import for the LINQ provider.

Any ideas?
Thanks ... Ed

Posted: Wed 29 Jul 2009 11:00
by AndreyR
The simple query you have posted works in my test project.
Please check you have references to the assemblies Devart.Data.Linq.dll and Devart.Data.Oracle.Linq.dll in your project.
If so, please send me (support * devart * com, subject "LINQ - simple query") a small test project illustrating the problem.