Re: [Firebird-net-provider] Problem on dispose implementaion

2006-06-13 Thread Le roy Arnaud
Carlos Guzmán Álvarez avait prétendu : > Hello: >> Hello, >> >> i found a little error in the dispose implementation. >> 1 . why you close active reader when you dispose the fbcommand ? >> >> because with the microsoft application block you can do it : >> >> Database db =3D Helper.GetDB(); >>

Re: [Firebird-net-provider] Problem on dispose implementaion in fbcommand

2006-06-13 Thread Carlos Guzmán Álvarez
Hello: > Hello, > > i found a little error in the dispose implementation. > 1 . why you close active reader when you dispose the fbcommand ? > > because with the microsoft application block you can do it : > > Database db = Helper.GetDB(); > using (DbCommand dbCommand = db.GetSqlStringCommand("SE

[Firebird-net-provider] Problem on dispose implementaion in fbcommand

2006-06-13 Thread Le roy Arnaud
Hello, i found a little error in the dispose implementation. 1 . why you close active reader when you dispose the fbcommand ? because with the microsoft application block you can do it : Database db = Helper.GetDB(); using (DbCommand dbCommand = db.GetSqlStringCommand("SELECT * FROM TOTO")) {