[Quantproject-developers] QuantDownloader/Downloader/Validate ValidateDataTable.cs,1.4,1.5
Brought to you by:
glauco_1
|
From: <gla...@us...> - 2003-12-21 21:16:07
|
Update of /cvsroot/quantproject/QuantDownloader/Downloader/Validate
In directory sc8-pr-cvs1:/tmp/cvs-serv14053/Validate
Modified Files:
ValidateDataTable.cs
Log Message:
It now uses the
QuantProject.DataAccess.ConnectionProvider class
Index: ValidateDataTable.cs
===================================================================
RCS file: /cvsroot/quantproject/QuantDownloader/Downloader/Validate/ValidateDataTable.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** ValidateDataTable.cs 18 Dec 2003 18:28:47 -0000 1.4
--- ValidateDataTable.cs 21 Dec 2003 21:16:04 -0000 1.5
***************
*** 2,5 ****
--- 2,6 ----
using System.Data;
using System.Data.OleDb;
+ using QuantProject.DataAccess;
namespace QuantProject.Applications.Downloader.Validate
***************
*** 20,24 ****
this.selectStatement =
"select * from quotes where 1=2";
! this.oleDbDataAdapter = new OleDbDataAdapter( selectStatement , AdoNetTools.OleDbConnection );
this.oleDbCommandBuilder = new OleDbCommandBuilder( oleDbDataAdapter );
this.oleDbDataAdapter.UpdateCommand = this.oleDbCommandBuilder.GetUpdateCommand();
--- 21,26 ----
this.selectStatement =
"select * from quotes where 1=2";
! this.oleDbDataAdapter =
! new OleDbDataAdapter( selectStatement , ConnectionProvider.OleDbConnection );
this.oleDbCommandBuilder = new OleDbCommandBuilder( oleDbDataAdapter );
this.oleDbDataAdapter.UpdateCommand = this.oleDbCommandBuilder.GetUpdateCommand();
|