DataAccessAdapter

Posts   
 
    
hommels
User
Posts: 23
Joined: 01-Jul-2005
# Posted on: 01-Jul-2005 17:07:53   

What reference in my .NET project do I have to point to use this line of code DataAccessAdapter adapter = new DataAccessAdapter();

using Adapter model DatabaseGeneric

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 01-Jul-2005 20:45:15   

You've to reference the database specific project and in your code file, you've to add using/Imports <yournamespace>.DatabaseSpecific;

Frans Bouma | Lead developer LLBLGen Pro
avarndel
User
Posts: 36
Joined: 14-Jun-2007
# Posted on: 18-Jun-2007 21:15:11   

When I try to add Imports ProjectBudgetDBSpecific.DatabaseSpecific; I get the following error. Imports 'ProjectBudgetDBSpecific.DatabaseSpecific' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.

I'm using the Access adapter in your product for VB.NET .net20 and my LLGen Pro project name is ProjectBudget. I added the generated code & projects from llGen Pro to my web site Project "ProjBud"

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 19-Jun-2007 06:02:42   

As Frans said

You've to reference the database specific project and in your code file, you've to add using/Imports <yournamespace>.DatabaseSpecific;

try this

Imports ProjectBudget.DatabaseSpecific
David Elizondo | LLBLGen Support Team
Aurelien avatar
Aurelien
Support Team
Posts: 162
Joined: 28-Jun-2006
# Posted on: 19-Jun-2007 17:40:52   

You said in an other thread :

get the same message:

Imports ProjectBudget.DatabaseSpecific

Namespace or type specified ii the imports 'ProjectBudget.DatabaseSpecific' doesn't contain any public member or cannot be found.

did you add a reference to the dbspecific project ?