Esempio n. 1
0
 public virtual int FillPage(RADNOVRIJEMEDataSet dataSet, int startRow, int maxRows)
 {
     this.InitializeMembers();
     this.connDefault     = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.RADNOVRIJEMESet = dataSet;
     try
     {
         this.LoadChildRadnovrijeme(startRow, maxRows);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }
Esempio n. 2
0
 public virtual bool FillByIDRADNOVRIJEME(RADNOVRIJEMEDataSet dataSet, int iDRADNOVRIJEME)
 {
     this.InitializeMembers();
     this.connDefault     = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.RADNOVRIJEMESet = dataSet;
     this.rowRADNOVRIJEME = this.RADNOVRIJEMESet.RADNOVRIJEME.NewRADNOVRIJEMERow();
     this.rowRADNOVRIJEME.IDRADNOVRIJEME = iDRADNOVRIJEME;
     try
     {
         this.LoadByIDRADNOVRIJEME(0, -1);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     if (this.RcdFound284 == 0)
     {
         return(false);
     }
     return(true);
 }
Esempio n. 3
0
 public virtual int Fill(RADNOVRIJEMEDataSet 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.RADNOVRIJEMESet = dataSet;
             this.LoadChildRadnovrijeme(0, -1);
             dataSet.AcceptChanges();
         }
         finally
         {
             this.Cleanup();
         }
     }
     return(0);
 }