Version 2.0 Suggestion

Posts   
 
    
can1
User
Posts: 77
Joined: 16-Sep-2005
# Posted on: 20-Jan-2006 17:16:56   

Frans,

I don't know if it is possible, but it would be awfully nice in version 2 if we had the ability to return a collection of LLBLGen entity objects in a choice of the different formats available in .NET 2.0, like a dictionary collection for direct key access etc..

Just a thought.

Can1

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39930
Joined: 17-Aug-2003
# Posted on: 20-Jan-2006 17:53:56   

I'm not quite sure I follow what you're looking for. Nevertheless, in v2. you can define a 'projection' of data using your own projector class (very easy to write) which allows you to project a subset of the collection onto new objects (of whatever format, could be entities) and whatever datastore.

Frans Bouma | Lead developer LLBLGen Pro
can1
User
Posts: 77
Joined: 16-Sep-2005
# Posted on: 20-Jan-2006 18:28:40   

I put some of my LLBLGen objects into a generics collection that implements IDictionary for quick key access lookup. I was just thinking that it would be nice if EntityCollection implemented IDictionary or, if you could request from LLBLGen that your collection of entity objects be returned in type of collection that you choose, ie. IList, IBindingList, and/or IDictionary. Not sure if generics makes this possible.

Just a thought.

I am totally enjoying the use of Version 1.2005 and look forward to seeing what Version 2 will offer.

Thanks.

Can1