示例#1
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);
        }
示例#2
0
        public override int Fill(DataSet dataSet)
        {
            command    = (FileDbCommand)this.SelectCommand;
            connection = (FileDbConnection)command.Connection;
            provider   = connection.Provider;

            string sql = command.CommandText;

            return(FillTable(sql, dataSet));
        }
示例#3
0
 public FileDbCommand(string cmdText, FileDbConnection connection)
 {
     this.CommandText  = cmdText;
     this.CommandType  = CommandType.Text;
     this.DbConnection = connection;
 }