On 27/06/14 17:27, Mark Rotteveel wrote:
> On 27-6-2014 18:09, Scott Morgan wrote:
>> Trying to drop a DB opened with the embedded system, but something seems
>> to be holding the file open after the connection is closed.
>
> The .net provider has a connection pool, so the physical connection is
> still open. You need to flush the pool, or disable connection pooling.
>
> You can flush the pool with:
> FbConnection.ClearAllPools();
That did the job, thanks.
(Had a feeling it was pooling, but completely missed that function)
Scott
|