Login Skip Navigation LinksWilsonORMapper > Forums Search
Demo Version Demo Version
Download and try for yourself a fully working demo version, including sample apps and documentation.  The only limitation is that the demo version only works inside the debugger.

PayPal Subscribe
Get It All for $50 USD:
WebPortal, ORMapper,
Source Code, All Updates
PayPal

User Login User Login
Log In
 
 
Reset Password

Wilson ORMapper Forums Wilson ORMapper Forums : General Support : How to abort a long running query?

Date Post
12/11/2007 2:26:41 PM

I'm developing a WinForms application that uses the OR mapper against an Oracle db. I have a query that could potentially return millions of rows, so I want to provide a way for the user to cancel the query if it´s taking too long.

 

I'm calling the Objectspace.GetCollection() method on a separate thread, and all I can think of is to abort that thread and return control to the user, leaving the query running in the database until it completes.

Is there any better way to do it?