Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > LLBLGen Pro Runtime Framework> ExcludeIncludeFieldsList in FetchTypedView
 

Pages: 1
LLBLGen Pro Runtime Framework
ExcludeIncludeFieldsList in FetchTypedView
Page:1/1 

  Print all messages in this thread  
Poster Message
Rosacek
User



Location:
CZ
Joined on:
18-Mar-2012 18:02:44
Posted:
133 posts
# Posted on: 24-Jun-2015 15:41:52.  
Is there a simple way to limit fields returned by FetchTypedView?

I guess ExcludeIncludeFieldsList works just for EntityCollection.
It looks I have only 1 option: map view as Entity and then use ExcludeIncludeFieldsList.
Correct?

I wonder why ExcludeIncludeFieldsList is not implemented yet in TypedViews and TypedLists
  Top
Walaa
Support Team



Location:

Joined on:
21-Aug-2005 16:03:48
Posted:
14527 posts
# Posted on: 24-Jun-2015 18:40:52.  
DynamicLists should be used in this case.

  Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
37631 posts
# Posted on: 26-Jun-2015 09:55:28.  
Rosacek wrote:
Is there a simple way to limit fields returned by FetchTypedView?

I guess ExcludeIncludeFieldsList works just for EntityCollection.
It looks I have only 1 option: map view as Entity and then use ExcludeIncludeFieldsList.
Correct?

I wonder why ExcludeIncludeFieldsList is not implemented yet in TypedViews and TypedLists

THey're not implemented because the types are meant to be used as-is, they're designed to be readonly sets so why they should be limited after that is a little odd if you design them to be sets in the first place.

If you need a subset of the fields in a typedview, use a linq/queryspec query to create a custom projection.
Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
Pages: 1  


Powered by HnD ©2002-2007 Solutions Design
HnD uses LLBLGen Pro

Version: 2.1.12172008 Final.