Ejemplo n.º 1
0
 public virtual int FillPage(DDVRSTEPOSLADataSet dataSet, int startRow, int maxRows)
 {
     this.InitializeMembers();
     this.connDefault     = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.DDVRSTEPOSLASet = dataSet;
     try
     {
         this.LoadChildDdvrsteposla(startRow, maxRows);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }
Ejemplo n.º 2
0
 public virtual bool FillByDDIDVRSTAPOSLA(DDVRSTEPOSLADataSet dataSet, int dDIDVRSTAPOSLA)
 {
     this.InitializeMembers();
     this.connDefault     = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.DDVRSTEPOSLASet = dataSet;
     this.rowDDVRSTEPOSLA = this.DDVRSTEPOSLASet.DDVRSTEPOSLA.NewDDVRSTEPOSLARow();
     this.rowDDVRSTEPOSLA.DDIDVRSTAPOSLA = dDIDVRSTAPOSLA;
     try
     {
         this.LoadByDDIDVRSTAPOSLA(0, -1);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     if (this.RcdFound168 == 0)
     {
         return(false);
     }
     return(true);
 }
Ejemplo n.º 3
0
 public virtual int Fill(DDVRSTEPOSLADataSet 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.DDVRSTEPOSLASet = dataSet;
             this.LoadChildDdvrsteposla(0, -1);
             dataSet.AcceptChanges();
         }
         finally
         {
             this.Cleanup();
         }
     }
     return(0);
 }