Пример #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;
 }