Esempio n. 1
0
 public virtual int FillPage(FINPOREZDataSet dataSet, int startRow, int maxRows)
 {
     this.InitializeMembers();
     this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.FINPOREZSet = dataSet;
     try
     {
         this.LoadChildFinporez(startRow, maxRows);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }
Esempio n. 2
0
 public virtual bool FillByFINPOREZIDPOREZ(FINPOREZDataSet dataSet, int fINPOREZIDPOREZ)
 {
     this.InitializeMembers();
     this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.FINPOREZSet = dataSet;
     this.rowFINPOREZ = this.FINPOREZSet.FINPOREZ.NewFINPOREZRow();
     this.rowFINPOREZ.FINPOREZIDPOREZ = fINPOREZIDPOREZ;
     try
     {
         this.LoadByFINPOREZIDPOREZ(0, -1);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     if (this.RcdFound206 == 0)
     {
         return(false);
     }
     return(true);
 }
Esempio n. 3
0
 public virtual int Fill(FINPOREZDataSet 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.FINPOREZSet = dataSet;
             this.LoadChildFinporez(0, -1);
             dataSet.AcceptChanges();
         }
         finally
         {
             this.Cleanup();
         }
     }
     return(0);
 }