Example #1
0
 public virtual int FillPage(TIPURADataSet dataSet, int startRow, int maxRows)
 {
     this.InitializeMembers();
     this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.TIPURASet   = dataSet;
     try
     {
         this.LoadChildTipura(startRow, maxRows);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }
Example #2
0
 public virtual bool FillByIDTIPURA(TIPURADataSet dataSet, int iDTIPURA)
 {
     this.InitializeMembers();
     this.connDefault        = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.TIPURASet          = dataSet;
     this.rowTIPURA          = this.TIPURASet.TIPURA.NewTIPURARow();
     this.rowTIPURA.IDTIPURA = iDTIPURA;
     try
     {
         this.LoadByIDTIPURA(0, -1);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     if (this.RcdFound199 == 0)
     {
         return(false);
     }
     return(true);
 }
Example #3
0
 public virtual int Fill(TIPURADataSet 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.TIPURASet   = dataSet;
             this.LoadChildTipura(0, -1);
             dataSet.AcceptChanges();
         }
         finally
         {
             this.Cleanup();
         }
     }
     return(0);
 }