Print Page | Close Window

AdHoc queries with DevForce?

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=2993
Printed Date: 13-May-2026 at 6:18pm


Topic: AdHoc queries with DevForce?
Posted By: katit
Subject: AdHoc queries with DevForce?
Date Posted: 07-Oct-2011 at 8:47am
Does DevForce support AdHoc queries in Silverlight? I know about eSQL but strong types still involved there. I wonder if I can pass regular SQL through to get result back?
 
Also, I had a question on how to run "Count" query using Async? Obviously, when I do LINQ query - there is no CountAsync() operation. Sometimes I need to check how many records or existance of something and I don't wan't to bring set of data to the client (performance reasons)



Replies:
Posted By: smi-mark
Date Posted: 07-Oct-2011 at 3:36pm
you can do AsScalarAsync()

This article should help you: http://drc.ideablade.com/xwiki/bin/view/Documentation/async%2Dimmediate%2Dexecution



Print Page | Close Window