Hi Jiri and Carlos, i found one little error in FbConnection.ChangeDatabase
(at least in 2.5.0 alpha1)
here is the code
try
{
FbConnectionStringBuilder csb = new
FbConnectionStringBuilder(this.connectionString);
/* Close current connection */
this.Close();
/* Set up the new Database */
csb.Database = db;
/* Open new connection */
this.Open();
}
as you see, you forgot to assign a new connection string to the current
connection before reconnecting :)
--
View this message in context:
http://www.nabble.com/Error-in-FbConnection.ChangeDatabase-tf4954772.html#a14188501
Sent from the firebird-net-provider mailing list archive at Nabble.com.
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider