Entity SubSet of Fields

Posts   
 
    
aschurman
User
Posts: 8
Joined: 16-Jun-2005
# Posted on: 11-Jul-2005 22:32:30   

Hello,

I have been checking the application and have one question/suggestion for the next release.

It would be nice to have an Entity with fewer fields and not all the fields from the table Together with the All Fields Entity

This is the case. I want to create many screens that usually have one editing Entity but that entity is related to many other entities. However, I don't need all the fields from the related entity, just Id and Name or something similar. Furthermore, Imagine a Combo with a list of clients which after selecting one it brings all the Client Info and the orders, etc. It would be nice to fill the Combo with the Customers (Sub Entity) and then from there (after it is selected) ask for the Full Entity. Of from the Sub Entity use the relation to go to the orders Entity(s).

I know that with the use of typed lists and some code I could do it. However, I thought that a nice way to solve the problem is to let the LLBLGen Pro Application to add a Table more than once, with the option to remove fields of course. This way we (developers) can create as many different subsets or repeated entities for different purposes, having each of them a set of 1:n, n:1 or m:n relations.

mm... well let me know what you guys think.

Complication things little more: p.s. the subsets entities can have a READONLY option.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39749
Joined: 17-Aug-2003
# Posted on: 11-Jul-2005 22:53:56   

This will be available in 1.0.2005.1, where you can map multiple entities to the same table and remove mapped fields from the mappings so effectively create an entity with just a few fields simple_smile

Frans Bouma | Lead developer LLBLGen Pro
aschurman
User
Posts: 8
Joined: 16-Jun-2005
# Posted on: 11-Jul-2005 23:08:03   

Thanks excelent, and for when do you think that version will be released?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39749
Joined: 17-Aug-2003
# Posted on: 12-Jul-2005 09:46:20   

I work hard to get the beta done before august, so the final will be released around end august/early september. The beta is accessable for customers of course.

Frans Bouma | Lead developer LLBLGen Pro