Modifying IEntityFields2 collection

Posts   
 
    
arschr
User
Posts: 894
Joined: 14-Dec-2003
# Posted on: 17-Jun-2005 00:19:17   

I've a typed view. How do I return only some of the columns defined.

I don't see a way remove elements from the collection returned by tv.GetFieldsInfo()?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 17-Jun-2005 09:37:37   

The only option you have is to define a new EntityFields2 object and copy the fields over. EntityFields2 objects aren't flexible, they have a fixed size.

Frans Bouma | Lead developer LLBLGen Pro