Ejemplo n.º 1
0
 public virtual int FillPage(IPIDENTDataSet dataSet, int startRow, int maxRows)
 {
     this.InitializeMembers();
     this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.IPIDENTSet  = dataSet;
     try
     {
         this.LoadChildIpident(startRow, maxRows);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }
Ejemplo n.º 2
0
 public virtual bool FillByIDIPIDENT(IPIDENTDataSet dataSet, int iDIPIDENT)
 {
     this.InitializeMembers();
     this.connDefault          = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.IPIDENTSet           = dataSet;
     this.rowIPIDENT           = this.IPIDENTSet.IPIDENT.NewIPIDENTRow();
     this.rowIPIDENT.IDIPIDENT = iDIPIDENT;
     try
     {
         this.LoadByIDIPIDENT(0, -1);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     if (this.RcdFound58 == 0)
     {
         return(false);
     }
     return(true);
 }
Ejemplo n.º 3
0
 public virtual int Fill(IPIDENTDataSet 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.IPIDENTSet  = dataSet;
             this.LoadChildIpident(0, -1);
             dataSet.AcceptChanges();
         }
         finally
         {
             this.Cleanup();
         }
     }
     return(0);
 }