Пример #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);
        }
Пример #2
0
 public XmlDbCommand(string cmdText, XmlDbConnection connection)
 {
     this.CommandText = cmdText;
     this.CommandType = CommandType.Text;
     this.DbConnection = connection;
 }