Print Page | Close Window

Synchronous Methods in Silverlight

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=3104
Printed Date: 19-Apr-2024 at 2:33pm


Topic: Synchronous Methods in Silverlight
Posted By: Vonzkie
Subject: Synchronous Methods in Silverlight
Date Posted: 22-Nov-2011 at 12:42am
Hi,

Is Devforce planning to support its Synchronous methods such as SaveChanges() in Silverlight and why Silverlight only has your asynchronous methods? 

Thanks,
Von



Replies:
Posted By: DenisK
Date Posted: 22-Nov-2011 at 2:12pm
Hi Von;

The asynchronous requirement is imposed by Silverlight itself and not by us so we can't really have synchronous methods until Silverlight changes its CLR.

However, DevForce does support synchronous operation when you work off the cache (as in querying from the cache,  http://drc.ideablade.com/xwiki/bin/view/Documentation/query-fetchstrategy - http://drc.ideablade.com/xwiki/bin/view/Documentation/query-fetchstrategy ) and offline. ( http://drc.ideablade.com/xwiki/bin/view/Documentation/offline - http://drc.ideablade.com/xwiki/bin/view/Documentation/offline )

Hope this helps.



Print Page | Close Window