예제 #1
0
        public virtual Cash_TDataTable GetData()
        {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            Cash_TDataTable cashTDataTable = new Cash_TDataTable();

            this.Adapter.Fill(cashTDataTable);
            return(cashTDataTable);
        }
예제 #2
0
        public virtual int Fill(Cash_TDataTable dataTable)
        {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if (this.ClearBeforeFill)
            {
                dataTable.Clear();
            }
            int num = this.Adapter.Fill(dataTable);

            return(num);
        }
예제 #3
0
 public virtual int Update(Cash_TDataTable dataTable)
 {
     return(this.Adapter.Update(dataTable));
 }