From: Carlos G. A. <car...@te...> - 2003-06-30 08:11:11
|
Hello: > Thanks, I know that. May be I didn't explain well enough my question. > > I have one and only one live connection. If I close this unique > connection (myConnection.Close()) I should be able to delete the > database file in use (myDatabase.fdb), but this works only when > connection pooling is disabled. Should I understand connection (my > unique connection) is not really closed when I call > "myConnection.Close()" and connection pooling is enabled? Using Connection Pooling the onnection is not closed until the pool performs a cleanup yo can try to add a Thread.Sleep to DoRestoreDatabaseBackup(); or try to change the "Connection lifetime" value in Connection String -- Best regards Carlos Guzmán Álvarez Vigo-Spain |