Error with simple test

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
ylogico
Posts: 1
Joined: Tue 11 May 2010 10:06

Error with simple test

Post by ylogico » Tue 11 May 2010 10:24

Hi:

I'm trying dotConnect for Oracle with a really simple test.

It's just a console application that searches in an Oracle database through LINQ to SQL (just a table from that database in the DataContext).

When I try to run the program I get this error:

Error 2 Cannot implicitly convert type 'Devart.Data.Linq.Table' to 'System.Data.Linq.Table' C:\Proyectos\OracleTest\newInformeTest\newInformeTest\DataContextText.Designer.cs 80 24 newInformeTest

Any idea??

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

Post by AndreyR » Tue 11 May 2010 15:14

Could you please check that you are using the correct namespace for the class you are using?
The error looks like namespace misusage. Could you please send me (support * devart * com, "subject "LINQ cannot convert from Devart to System") the test project?

Post Reply