Page 1 of 1

How to add reference to the assembly 'CoreLab.Data'?

Posted: Sun 16 Dec 2007 14:52
by fordprefect
Hi,

I try to implement a psql database in a Webservice in Visual Studio 2005. I installed PostgreSQLDirect.NET Version 3.25 for NET Framework 2.0 and 3.0. I managed to import the Database from a Server into the Webservice.
But when I compile my WebService it says something like:

"The type CoreLab.Common.DbDataAdapter is defined in an Assembly, on which there is no reference. Add a reference to the Assembly CoreLab.Data."

So I guess I have to implement CoreLab.Data with something like:

using CoreLab
using CoreLab.Data

But it has problems with 'using CoreLab.data'

So what do I have to implement here?

Thanks a lot

Posted: Mon 17 Dec 2007 13:18
by Alexey.mdr
Check that your project references "CoreLab.Data" and "CoreLab.PostgreSql" assemblies.

Besides you might need to add the following lines to each file, where you are going to use PostgreSQLDirect .NET components:

Code: Select all

using CoreLab.PostgreSql;
using CoreLab.Data;