示例#1
0
        private int FillTable(string sql, DataSet ds)
        {
            SqlClauseParser parset = new SqlClauseParser(connection.Provider, sql);
            SelectClause    select = parset.ParseSelect();

            var dataFile = (provider as FileDbConnectionProvider).DataFile;

            return(dataFile.SelectData(select, ds));
        }
示例#2
0
        public override int ExecuteNonQuery()
        {
            FileDbConnection connection = DbConnection as FileDbConnection;
            FileLink         link       = connection.FileLink;

            var       parser = new SqlClauseParser(connection.Provider, CommandText);
            SqlClause clause = parser.Parse();

            return(-1);
        }