Add Foreign key count column to entity

Posts   
 
    
TommyKeane
User
Posts: 8
Joined: 07-May-2006
# Posted on: 12-Jun-2006 16:08:00   

Hi,

Is it possible to add a count field to an entity? I would like to add an OrderCount to the customer entity (a customer can have many orders).

I am using the adapter scenario.

I don't want to resort to a custom view.

Thanks, Tommy

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39928
Joined: 17-Aug-2003
# Posted on: 12-Jun-2006 16:47:46   

Not in v1.0.2005.1. This feature is possible in v2 which is currently in beta, see for an example here: http://weblogs.asp.net/fbouma/archive/2006/06/09/LLBLGen-Pro-v2.0-with-ASP.NET-2.0.aspx

Frans Bouma | Lead developer LLBLGen Pro
TommyKeane
User
Posts: 8
Joined: 07-May-2006
# Posted on: 12-Jun-2006 16:51:30   

Otis wrote:

Not in v1.0.2005.1. This feature is possible in v2 which is currently in beta, see for an example here: http://weblogs.asp.net/fbouma/archive/2006/06/09/LLBLGen-Pro-v2.0-with-ASP.NET-2.0.aspx

Great, I'll try v2 beta then. Thanks