EntityCollections in Adapter patterns vs SelfServicing

Posts   
 
    
JSobell
User
Posts: 151
Joined: 07-Jan-2006
# Posted on: 05-Apr-2007 07:20:55   

Hi, Just a quick and simple question...

The templates generate EntityCollection classes automagically in the SelfServicing model, but in the Adapter it's necessary to use the base class via Generics, e.g. EntityCollection<MyEntity>

Is there any reason why the template doesn't create classes by default to represent these such as Public Class MyEntityCollection : EntityCollection<MyEntity> {}

It's only a minor point, but it makes code far more readable, and the lack of this built in suggests to me that there is probably a good reason it's not in there, but what reason might that be? simple_smile

Cheers, Jason

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 05-Apr-2007 11:18:03