Possible Bug

Posts   
 
    
tprohas
User
Posts: 257
Joined: 23-Mar-2004
# 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?

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# 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 Support Team
daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 06-Sep-2008 08:08:27   

Missing the attachment flushed Here it is.

David Elizondo | LLBLGen Support Team