Adapter does not have FetchEntity method

Posts   
 
    
bp
User
Posts: 1
Joined: 03-May-2012
# Posted on: 03-May-2012 03:28:04   

hi all, I am sorry for asking this dumb question. I am sure i am missing something but cannot figure out what it is.

I have generated a code using llblgen pro 2.6 against sql server 2005 database using Adapter template and added it to asp.net vs 2008 project. But interestingly, the adapter object which is an instance of DataAccessAdapter class does not seem to have FetchEntity method. In fact, it only has FetchDataReader method which starts with word 'Fetch'.

To double confirm the template I tried calling Save() method of an object of the entity but could not find it either.

Could you please thorough some lights on this issue? simple_smile

Cheers,

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 03-May-2012 08:00:34   

Odd disappointed It sound like if you are not properly adding the needed references. Please read the Compiling the code documentation section.

  • Are you sure you generated with Adapter template set?
  • Did you add both generated projects into your solution (DBGeneric and DBSpecific)?
  • When you say that "you don't find the method", Does it mean that it's not shown with intellisense or that the solution does not compile?
David Elizondo | LLBLGen Support Team