Example #1
0
 public virtual int FillPage(VERZIJADataSet dataSet, int startRow, int maxRows)
 {
     this.InitializeMembers();
     this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.VERZIJASet  = dataSet;
     try
     {
         this.LoadChildVerzija(startRow, maxRows);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }
Example #2
0
 public virtual bool FillByIDVERZIJA(VERZIJADataSet dataSet, short iDVERZIJA)
 {
     this.InitializeMembers();
     this.connDefault          = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.VERZIJASet           = dataSet;
     this.rowVERZIJA           = this.VERZIJASet.VERZIJA.NewVERZIJARow();
     this.rowVERZIJA.IDVERZIJA = iDVERZIJA;
     try
     {
         this.LoadByIDVERZIJA(0, -1);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     if (this.RcdFound79 == 0)
     {
         return(false);
     }
     return(true);
 }
Example #3
0
 public virtual int Fill(VERZIJADataSet 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.VERZIJASet  = dataSet;
             this.LoadChildVerzija(0, -1);
             dataSet.AcceptChanges();
         }
         finally
         {
             this.Cleanup();
         }
     }
     return(0);
 }