Ejemplo n.º 1
0
 public virtual CloudAccountDA.EstimateItemDetailDataTable GetData()
 {
     this.Adapter.SelectCommand = this.CommandCollection[0];
     CloudAccountDA.EstimateItemDetailDataTable dataTable = new CloudAccountDA.EstimateItemDetailDataTable();
     this.Adapter.Fill(dataTable);
     return(dataTable);
 }
Ejemplo n.º 2
0
 public virtual int Fill(CloudAccountDA.EstimateItemDetailDataTable dataTable)
 {
     this.Adapter.SelectCommand = this.CommandCollection[0];
     if (this.ClearBeforeFill)
     {
         dataTable.Clear();
     }
     return(this.Adapter.Fill(dataTable));
 }
Ejemplo n.º 3
0
 public virtual CloudAccountDA.EstimateItemDetailDataTable DeleteByItemID(int?ItemID)
 {
     this.Adapter.SelectCommand = this.CommandCollection[2];
     if (ItemID.HasValue)
     {
         this.Adapter.SelectCommand.Parameters[1].Value = ItemID.Value;
     }
     else
     {
         this.Adapter.SelectCommand.Parameters[1].Value = DBNull.Value;
     }
     CloudAccountDA.EstimateItemDetailDataTable dataTable = new CloudAccountDA.EstimateItemDetailDataTable();
     this.Adapter.Fill(dataTable);
     return(dataTable);
 }
Ejemplo n.º 4
0
 public virtual int Update(CloudAccountDA.EstimateItemDetailDataTable dataTable)
 {
     return(this.Adapter.Update(dataTable));
 }