Ejemplo n.º 1
0
 public virtual TestDataSet.DemoDataTable GetData()
 {
     this.Adapter.SelectCommand = this.CommandCollection[0];
     TestDataSet.DemoDataTable dataTable = new TestDataSet.DemoDataTable();
     this.Adapter.Fill(dataTable);
     return(dataTable);
 }
Ejemplo n.º 2
0
        public virtual int Fill(TestDataSet.DemoDataTable dataTable)
        {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.m_clearBeforeFill == true))
            {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);

            return(returnValue);
        }
Ejemplo n.º 3
0
 public virtual int Update(TestDataSet.DemoDataTable dataTable)
 {
     return(this.Adapter.Update(dataTable));
 }