Ejemplo n.º 1
0
 public virtual int FillPage(RAD1MELEMENTIDataSet dataSet, int startRow, int maxRows)
 {
     this.InitializeMembers();
     this.connDefault      = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.RAD1MELEMENTISet = dataSet;
     try
     {
         this.LoadChildRad1melementi(startRow, maxRows);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }
Ejemplo n.º 2
0
 public virtual bool FillByRAD1ELEMENTIID(RAD1MELEMENTIDataSet dataSet, int rAD1ELEMENTIID)
 {
     this.InitializeMembers();
     this.connDefault      = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.RAD1MELEMENTISet = dataSet;
     this.rowRAD1MELEMENTI = this.RAD1MELEMENTISet.RAD1MELEMENTI.NewRAD1MELEMENTIRow();
     this.rowRAD1MELEMENTI.RAD1ELEMENTIID = rAD1ELEMENTIID;
     try
     {
         this.LoadByRAD1ELEMENTIID(0, -1);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     if (this.RcdFound282 == 0)
     {
         return(false);
     }
     return(true);
 }
Ejemplo n.º 3
0
 public virtual int Fill(RAD1MELEMENTIDataSet dataSet)
 {
     if (this.fillDataParameters != null)
     {
         this.Fill(dataSet, int.Parse(this.fillDataParameters[0].Value.ToString()));
     }
     else
     {
         try
         {
             this.InitializeMembers();
             this.connDefault      = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
             this.RAD1MELEMENTISet = dataSet;
             this.LoadChildRad1melementi(0, -1);
             dataSet.AcceptChanges();
         }
         finally
         {
             this.Cleanup();
         }
     }
     return(0);
 }