public virtual CloudAccountDA.CreditTaskDetailDataTable GetData()
 {
     this.Adapter.SelectCommand = this.CommandCollection[0];
     CloudAccountDA.CreditTaskDetailDataTable dataTable = new CloudAccountDA.CreditTaskDetailDataTable();
     this.Adapter.Fill(dataTable);
     return(dataTable);
 }
 public virtual int Fill(CloudAccountDA.CreditTaskDetailDataTable dataTable)
 {
     this.Adapter.SelectCommand = this.CommandCollection[0];
     if (this.ClearBeforeFill)
     {
         dataTable.Clear();
     }
     return(this.Adapter.Fill(dataTable));
 }
 public virtual CloudAccountDA.CreditTaskDetailDataTable DeleteByTaskID(int?TaskID)
 {
     this.Adapter.SelectCommand = this.CommandCollection[2];
     if (TaskID.HasValue)
     {
         this.Adapter.SelectCommand.Parameters[1].Value = TaskID.Value;
     }
     else
     {
         this.Adapter.SelectCommand.Parameters[1].Value = DBNull.Value;
     }
     CloudAccountDA.CreditTaskDetailDataTable dataTable = new CloudAccountDA.CreditTaskDetailDataTable();
     this.Adapter.Fill(dataTable);
     return(dataTable);
 }
 public virtual int Update(CloudAccountDA.CreditTaskDetailDataTable dataTable)
 {
     return(this.Adapter.Update(dataTable));
 }