Question re: Typed Views

Posts   
 
    
psandler
User
Posts: 540
Joined: 22-Feb-2005
# Posted on: 07-Aug-2006 21:23:17   

Hey Frans/All,

I have actually been wondering about this since you added the functionality of mapping Views as entities.

Are Typed Views still useful? What would be the advantage of using a Typed View over a view mapped as an entity?

Just curious,

Phil

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39927
Joined: 17-Aug-2003
# Posted on: 08-Aug-2006 11:18:31   

A typed view is by definition a list, not a single row entity. Filling a typedview will costs less overhead as the columns in the typedview/datatable have to be defined once, so the fill logic is a little faster than filling an entity collection with entity instances. As a typedview is readonly, it might be a solution to some parts of the system, where readonly data is enough. simple_smile

Frans Bouma | Lead developer LLBLGen Pro