lotek wrote:
I have an LLBLGenProDataSource2 which i am binding an EntityCollection to. The EntityCollection has Fields on Related Fields defined which are displayed in a GridView. When i sort the gridview, i get an error.
Is there any way to sort on these related fields on the server using LLBLGenProDataSource2?
Please provide the error info and the LLBLGen and RuntimeLibraries version (http://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=7720).
lotek wrote:
On an another topic. I am still a little fuzy on best practices for when to use and entityCollection and when to use a typedView. Is there a general rule of thumb?
Well, basically TypedViews are read-only lists based on a database view, EntityCollection at the other hand are collections of some certain type of Entity that can be fetched and saved back to the database. For more info read the documentation:
LLBLGenPro Help - Using the generated code - Adapter - Using TypedViews, TypedLIsts and DynamicLists
and
LLBLGenPro Help - Using the generated code - Adapter - Using the entity collection classes