Yat another simple query that doesn't work

Discussion of open issues, suggestions and bugs regarding LinqConnect – Devart's LINQ to SQL compatible ORM
Post Reply
edstaffin
Posts: 43
Joined: Mon 13 Oct 2008 13:23

Yat another simple query that doesn't work

Post by edstaffin » Tue 28 Jul 2009 17:34

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

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Wed 29 Jul 2009 11:00

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.

Post Reply