Use a connection within a using clause.
using (FbConnection connection =
OpenConnection())
{
using (FbCommand command = new
FbCommand(commandName, connection))
On Fri, Mar 19, 2010 at 21:39, Bruce Tiffany wrote:
> Yes, we can simulate it consistently by using multithreading to simulate
> simultaneous users in a web environment. It bombs every time.
Are you using one connection on more threads (simultaneously)?
> The deal was we were having lingering
{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}
-Original Message-
From: Jiri Cincura [mailto:[email protected]]
Sent: Saturday, February 20, 2010 9:27 AM
To: For users and developers of the Firebird .NET providers
Subject: Re: [Firebird-net-provider] connection pooling in a
multithreadingenvironment
On Fri, F