[Quantproject-developers] QuantProject/b2_DataAccess DataBaseVersionManager.cs,1.8,1.9
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2004-03-21 16:26:04
|
Update of /cvsroot/quantproject/QuantProject/b2_DataAccess In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27759/b2_DataAccess Modified Files: DataBaseVersionManager.cs Log Message: Unneeded connection closing and opening are avoided now Index: DataBaseVersionManager.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b2_DataAccess/DataBaseVersionManager.cs,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** DataBaseVersionManager.cs 9 Feb 2004 17:32:07 -0000 1.8 --- DataBaseVersionManager.cs 21 Mar 2004 16:15:56 -0000 1.9 *************** *** 77,81 **** { this.oleDbConnection = oleDbConnection; - this.oleDbConnection.Open(); this.initialize_updatingMethods(); } --- 77,80 ---- *************** *** 213,222 **** handler(); } - this.oleDbConnection.Close(); } catch(Exception ex) { MessageBox.Show(ex.ToString()); - this.oleDbConnection.Close(); } } --- 212,219 ---- |