Ejemplo n.º 1
0
        public override int Fill(DataSet dataSet)
        {
            command = (XmlDbCommand)this.SelectCommand;
            connection = (XmlDbConnection)command.Connection;
            provider = connection.Provider;

            string sql = command.CommandText;
            TableName tname = getTableName(sql);
            return FillDataTable(tname, dataSet);
        }
Ejemplo n.º 2
0
 public XmlDbCommand(string cmdText, XmlDbConnection connection)
 {
     this.CommandText = cmdText;
     this.CommandType = CommandType.Text;
     this.DbConnection = connection;
 }