Print Page | Close Window

Pending Entity List Question

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2010
Forum Discription: For .NET 4.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=2659
Printed Date: 22-Jan-2026 at 3:49pm


Topic: Pending Entity List Question
Posted By: mseeli
Subject: Pending Entity List Question
Date Posted: 10-May-2011 at 12:35am
I have an application that is using many codes (i.e. TypeOfAnimal, SkinType, Color (the stuff that you would put into Comboboxes most of the time). I have one large Table called CodeEntities where I put all these codes. TypeOfAnimal is a CodeEntiy, as is SkinType etc. Some of these Codes are related to each other that means there is a 1toN relationship between some of them(i.e. the SkinType  and Colors)

To make things easy and fast I read all CodeEntities at the start of the application. So all Codes are in Cache on the client.

But when I try to read the  a SkinType.Colors I see that the list is still pending even thou all Codes are in cache. 

Is there a way to read all the codes into cache and have it resolve all pending list at the start of the application?

Thanks

Markus Seeli




Replies:
Posted By: sbelini
Date Posted: 10-May-2011 at 12:24pm
Hi Markus,
 
If SkinType.Colors.IsPendingEntityList == true, most likely not all "Colors" cache. Were you able to retrieve all Colors eventhough SkinType.Colors.IsPendingEntityList == true?
 
Is this a SL app? Where are you checking SkinType.Colors.IsPendingEntityList? In the callback of your initial query for CodeEntities, have you checked if it completed successfully?
 
Silvio.



Print Page | Close Window