Additional properties and methods.

Posts   
 
    
vasucv
User
Posts: 1
Joined: 15-Dec-2005
# Posted on: 15-Dec-2005 18:38:47   

Hi, I generated the classes usin llblgen adding all the entities to my project. I could see that it had very beautifuly created classes with associations with other entities and also created fetcher methods. Wonderful sofar. I then looked into the example "Northwind" project that I downloaded from the llbl site. Looking into the EmployeeEntityBase class, there are many methods and members etc. I could figure out each and everything except the methods that had Managers in it. example :GetMultiManagedEmployees and properties like ManagedEmployees and Managers. I could not figure out how to do this. I do understand that Employee table is self referencing. so an employee can have employees under them. It would be of help if someone could please explain how to introduce these additional properties. Thanks Vasu

bclubb
User
Posts: 934
Joined: 12-Feb-2004
# Posted on: 16-Dec-2005 02:31:06   

If you have setup the table to self reference and then setup this relationship in your table then you should be able to access rows through this relationship. Once these relationships are setup then go into the designer and change the Fields on Relations to reflect what this relationship represents.