Exemplo n.º 1
0
 public virtual int FillPage(VRSTAOBUSTAVEDataSet dataSet, int startRow, int maxRows)
 {
     this.InitializeMembers();
     this.connDefault      = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.VRSTAOBUSTAVESet = dataSet;
     try
     {
         this.LoadChildVrsteobustava(startRow, maxRows);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }
Exemplo n.º 2
0
 public virtual bool FillByVRSTAOBUSTAVE(VRSTAOBUSTAVEDataSet dataSet, short vRSTAOBUSTAVE)
 {
     this.InitializeMembers();
     this.connDefault      = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.VRSTAOBUSTAVESet = dataSet;
     this.rowVRSTEOBUSTAVA = this.VRSTAOBUSTAVESet.VRSTEOBUSTAVA.NewVRSTEOBUSTAVARow();
     this.rowVRSTEOBUSTAVA.VRSTAOBUSTAVE = vRSTAOBUSTAVE;
     try
     {
         this.LoadByVRSTAOBUSTAVE(0, -1);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     if (this.RcdFound42 == 0)
     {
         return(false);
     }
     return(true);
 }
Exemplo n.º 3
0
 public virtual int Fill(VRSTAOBUSTAVEDataSet dataSet)
 {
     if (this.fillDataParameters != null)
     {
         this.Fill(dataSet, short.Parse(this.fillDataParameters[0].Value.ToString()));
     }
     else
     {
         try
         {
             this.InitializeMembers();
             this.connDefault      = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
             this.VRSTAOBUSTAVESet = dataSet;
             this.LoadChildVrsteobustava(0, -1);
             dataSet.AcceptChanges();
         }
         finally
         {
             this.Cleanup();
         }
     }
     return(0);
 }