From: <ait...@gm...> - 2003-06-30 18:27:20
|
Thank you, I'll try it. -----Mensaje original----- De: fir...@li... [mailto:fir...@li...] En nombre de Carlos Guzman Alvarez Enviado el: lunes, 30 de junio de 2003 10:11 Para: Aitor G=F3mez Gonz=E1lez CC: Fir...@li... Asunto: Re: [Firebird-net-provider] Overwrite database in use Hello: > Thanks, I know that. May be I didn't explain well enough my question. >=20 > I have one and only one live connection. If I close this unique > connection (myConnection.Close()) I should be able to delete the=20 > database file in use (myDatabase.fdb), but this works only when=20 > connection pooling is disabled. Should I understand connection (my=20 > unique connection) is not really closed when I call=20 > "myConnection.Close()" and connection pooling is enabled? Using Connection Pooling the onnection is not closed until the pool=20 performs a cleanup yo can try to add a Thread.Sleep to=20 DoRestoreDatabaseBackup(); or try to change the "Connection lifetime"=20 value in Connection String --=20 Best regards Carlos Guzm=E1n =C1lvarez Vigo-Spain ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Firebird-net-provider mailing list Fir...@li... https://lists.sourceforge.net/lists/listinfo/firebird-net-provider |