Esempio n. 1
0
 public virtual int FillPage(RADNOMJESTODataSet dataSet, int startRow, int maxRows)
 {
     this.InitializeMembers();
     this.connDefault    = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.RADNOMJESTOSet = dataSet;
     try
     {
         this.LoadChildRadnomjesto(startRow, maxRows);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }
Esempio n. 2
0
 public virtual bool FillByIDRADNOMJESTO(RADNOMJESTODataSet dataSet, int iDRADNOMJESTO)
 {
     this.InitializeMembers();
     this.connDefault    = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.RADNOMJESTOSet = dataSet;
     this.rowRADNOMJESTO = this.RADNOMJESTOSet.RADNOMJESTO.NewRADNOMJESTORow();
     this.rowRADNOMJESTO.IDRADNOMJESTO = iDRADNOMJESTO;
     try
     {
         this.LoadByIDRADNOMJESTO(0, -1);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     if (this.RcdFound26 == 0)
     {
         return(false);
     }
     return(true);
 }
Esempio n. 3
0
 public virtual int Fill(RADNOMJESTODataSet 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.RADNOMJESTOSet = dataSet;
             this.LoadChildRadnomjesto(0, -1);
             dataSet.AcceptChanges();
         }
         finally
         {
             this.Cleanup();
         }
     }
     return(0);
 }