Hi, i found the following Problem
it аpplies to FbConnection, but maybe also to other Objects, i didn't
tested, so:

two cases
1) 
DbConnection con1 = FirebirdClientFactory.Instance.CreateConnection();
FbConnection con2 = (FbConnection)con1; // works just fine

2)
DbProviderFactory DbFactory =
DbProviderFactories.GetFactory("FirebirdSql.Data.FirebirdClient");
DbConnection con1 = DbFactory.CreateConnection(); //Connection is created
properly, Connect and Disconnect works fine
FbConnection con2 = (FbConnection)con1; // Exception - cannot cast from type
FirebirdSql.Data.FirebirdClient.FbConnection to type
FirebirdSql.Data.FirebirdClient.FbConnection


Possibly I miss something important, and this is a normal behaviour, or may
be not??? Please, advice



-- 
View this message in context: 
http://www.nabble.com/FirebirdClientFactory-Problem-tf2421986.html#a6752567
Sent from the firebird-net-provider mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to