LLBLGen Pro Lite - New installation and orphaned table/entity

Posts   
 
    
tprohas
User
Posts: 257
Joined: 23-Mar-2004
# Posted on: 23-May-2015 01:42:27   

Hello all,

It's been a long time since I've used LLBLGen Pro. I used it extensively in a project many years ago. So I decided to download and play with the Lite version and re-learn it.

I'm using the following version.

5.2 Final - LITE Released: May 5th, 2015

I've got as far as generating my entities from my database schema using LLBLGen Pro Runtime Framework and ran into something I don't understand. I see all my tables and the tables correct relationships in the Catalog Explorer but I do not see the mapped entity in the Project Explorer for some of them. I'm getting warning messages about the entities that say "The Table 'TableName' can be considered orphaned (no project element is mapped into it)".

Why is this happening? Some of the tables not mapped have relationships with tables that are mapped. I have not been able to figure out how to fix this issue.

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 23-May-2015 04:12:23   

tprohas wrote:

I'm using the following version.

5.2 Final - LITE Released: May 5th, 2015

Hi tprohas, I guess you mean v4.2

tprohas wrote:

I've got as far as generating my entities from my database schema using LLBLGen Pro Runtime Framework and ran into something I don't understand. I see all my tables and the tables correct relationships in the Catalog Explorer but I do not see the mapped entity in the Project Explorer for some of them. I'm getting warning messages about the entities that say "The Table 'TableName' can be considered orphaned (no project element is mapped into it)".

Why is this happening? Some of the tables not mapped have relationships with tables that are mapped. I have not been able to figure out how to fix this issue.

You have to Reverse Engineer the tables into mapped entities. Please read this guide to know how.

David Elizondo | LLBLGen Support Team
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39590
Joined: 17-Aug-2003
# Posted on: 23-May-2015 10:10:32   

Additionally, the home tab that opens in the designer has tutorials for 4 major use cases, among them the one you're in: "I have a database and I want code" simple_smile Out of interest, (as in v5 we're looking at extending this home tab with more tutorials) what made you not look at these tutorials, if I may ask? (So we learn why things are ignored so we can do it better next time)

Frans Bouma | Lead developer LLBLGen Pro
tprohas
User
Posts: 257
Joined: 23-Mar-2004
# Posted on: 23-May-2015 21:28:28   

Oh, I figured out the problem this morning. I have the LITE version and I'm now seeing a warning saying that I have the LITE version and can only have 8 entities in the project. I was not getting this warning yesterday. I was only getting the previously mentioned warnings about the orphaned entities yesterday. I have now removed some of the entities from the project and now get the missing entities.

And to answer your question about reading the tutorials, I was confident that I already knew how to use the designer even though it's best years since I last used it. I am using it correctly and it was me not getting the warning about the LITE version and the 8 entities that tripped me up.

Thanks!