Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > FAQ > Generated code FAQ> My entity classes don't have a Save() method
 

Pages: 1
Generated code FAQ
My entity classes don't have a Save() method
Page:1/1 

  Print all messages in this thread  
Poster Message
Aglaia
LLBLGen Pro Team



Location:
Scheveningen, The Netherlands
Joined on:
07-Sep-2003 21:16:00
Posted:
533 posts
# Posted on: 21-Aug-2007 13:18:24.  
Question:
When I generate code, I noticed that my entity classes don't have a Save() method and my typed list classes don't have a Fill() method. What's wrong?

Solution:
You've chosen one of the Adapter generator configurations in the generator configuration screen but you expected SelfServicing code. To get SelfServicing code, select SelfServicing from the Template Group drop-down-list in the General Settings tab of the code generation window.
Aglaia Kuipers, The LLBLGen Pro Team

Join the LLBLGen Pro support team!
 
Top
MTrinder
User



Location:
London by day, Milton Keynes by night.
Joined on:
08-Oct-2008 17:55:47
Posted:
1461 posts
# Posted on: 14-Oct-2008 21:52:50.  
Alternate Solution

You are using the SelfServicing templates but the project you are calling the generated code from does not have a reference to the ORMSupportClasses DLL and has not yet been built.

The .Save methods are inherited from base classes in the support dll, and so this needs to be referenced, and the project built, for these to be visible.


  Top
Pages: 1  


Powered by HnD ©2002-2007 Solutions Design
HnD uses LLBLGen Pro

Version: 2.1.12172008 Final.