Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > Designer> Possible Bug
 

Pages: 1
Designer
Possible Bug
Page:1/1 

  Print all messages in this thread  
Poster Message
tprohas
User



Location:
Tucson, AZ
Joined on:
23-Mar-2004 00:00:43
Posted:
257 posts
# Posted on: 06-Sep-2008 01:12:45.  
Hello all,

I'm using LLBLGen Pro Version 2.5 Released on March 28th, 2008 and am having a strange problem.

When I create a new project and connect to a SQL server database that does not have any tables in it, add tables to the database, refresh the LLBLGen project, then right click on Entities and select "Add New Entities Mapped On Tables From Catalog(s) I get the following error.

"All entities defined in the database are already added to the project."

The strange part about this error is that I haven't yet added any entities to the project. Now it seems that it's not possible to add entities either. Refreshing the project doesn't allow me to add entities either.

I had this happen to an earlier project and I had to delete the LLBLGen Project and re-create it. So it seems that you have to have tables in the database before creating the LLBLGen Project.

Had anyone else experienced this?
Aaron Prohaska
http://www.verdesoft.com/
 
Top
daelmo
Support Team



Location:
Guatemala City
Joined on:
28-Nov-2005 23:35:24
Posted:
8088 posts
# Posted on: 06-Sep-2008 08:06:26.  
Hi Aaron,

Mmm. I think this isn't a bug. This is what is happening:

1. Given an empty database.
2. Create a LLBLGen project mapping that empty db. At this point no entities are mapped, of course.
3. You create some tables at DB.
4. Refresh LLBLGen project. As no entities were retrieved before, the Tables checkbox is unchecked.
5. As that checkbox is unchecked, no tables are retrieved. Therefore no entities are available to be added.

So. Please be aware that you have to check the Tables checkbox at the Refresh Catalog dialog (I attached an image to show what I mean).

BTW, What LLBLGen version are you using?


David Elizondo
LLBLGen'ing (articles and code snippets) | linkedin | twitter
 
Top
daelmo
Support Team



Location:
Guatemala City
Joined on:
28-Nov-2005 23:35:24
Posted:
8088 posts
# Posted on: 06-Sep-2008 08:08:27.  
Missing the attachment Embarrassed Here it is.
David Elizondo
LLBLGen'ing (articles and code snippets) | linkedin | twitter
 
Top
Pages: 1  


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

Version: 2.1.12172008 Final.