New Posts New Posts RSS Feed: Asynchronous vs Synchronous Queries
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Asynchronous vs Synchronous Queries

 Post Reply Post Reply
Author
davidklitzke View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 14-Jun-2007
Posts: 715
Post Options Post Options   Quote davidklitzke Quote  Post ReplyReply Direct Link To This Post Topic: Asynchronous vs Synchronous Queries
    Posted: 29-Jul-2010 at 2:43pm
Back to Top
BillG View Drop Down
DevForce MVP
DevForce MVP
Avatar

Joined: 05-Dec-2007
Location: Monroe, MI
Posts: 233
Post Options Post Options   Quote BillG Quote  Post ReplyReply Direct Link To This Post Posted: 29-Jul-2010 at 2:17pm
So  I want to do a n-tier WPF app. I don't need the aynch queries but I would still like to use the BOS because there are some calculations that can run in queries on the server and only the results have to return or some don't have to return anything to the user but write directly to the database after the queries are done?
 
Will n-tier and BOS still benefit me here?
 
Bill
 
Back to Top
davidklitzke View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 14-Jun-2007
Posts: 715
Post Options Post Options   Quote davidklitzke Quote  Post ReplyReply Direct Link To This Post Posted: 29-Jul-2010 at 11:12am
The main reason that you would want to use an asynchronous query would be if you were writing a Silverlight application.
 
For more details on asynchrous queries, consult the DevForce Wiki.  For example,
 
 
 
Back to Top
BillG View Drop Down
DevForce MVP
DevForce MVP
Avatar

Joined: 05-Dec-2007
Location: Monroe, MI
Posts: 233
Post Options Post Options   Quote BillG Quote  Post ReplyReply Direct Link To This Post Posted: 29-Jul-2010 at 8:49am

I am used to writing client server apps in which the user populates a grid of records with which they want to work. they click on a record, edit the record and save the record and move on to the next record. What benefit does Async queries do in this case, the user cannot select a record until all the rows come back and they see the one they want.

 
When would I want to do async queries vs. sync queries?
 
If I use sync queries do they still run through the BOS?
 
Bill
 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down