Exemple #1
0
 public virtual void Fill()
 {
     this.PreFill();
     this.dsS_OD_REKAP_POSTOTNEDataSet1 = new S_OD_REKAP_POSTOTNEDataSet();
     this.m_StartRow    = 0;
     this.Cursor        = Cursors.WaitCursor;
     this.m_GridLoading = true;
     ThreadPool.QueueUserWorkItem(new WaitCallback(this.FillDataThread), Thread.CurrentPrincipal);
 }
Exemple #2
0
 public virtual int Fill(S_OD_REKAP_POSTOTNEDataSet dataSet)
 {
     if (this.fillDataParameters == null)
     {
         throw new ArgumentException();
     }
     this.Fill(dataSet, this.fillDataParameters[0].Value.ToString());
     return(0);
 }
Exemple #3
0
 public virtual int FillPage(S_OD_REKAP_POSTOTNEDataSet dataSet, int startRow, int maxRows)
 {
     if (this.fillDataParameters == null)
     {
         throw new ArgumentException();
     }
     this.FillPage(dataSet, this.fillDataParameters[0].Value.ToString(), startRow, maxRows);
     return(0);
 }
Exemple #4
0
 public virtual int Fill(DataSet dataSet)
 {
     this.S_OD_REKAP_POSTOTNESet = (S_OD_REKAP_POSTOTNEDataSet)dataSet;
     if (this.S_OD_REKAP_POSTOTNESet != null)
     {
         return(this.Fill(this.S_OD_REKAP_POSTOTNESet));
     }
     this.S_OD_REKAP_POSTOTNESet = new S_OD_REKAP_POSTOTNEDataSet();
     this.Fill(this.S_OD_REKAP_POSTOTNESet);
     dataSet.Merge(this.S_OD_REKAP_POSTOTNESet);
     return(0);
 }
Exemple #5
0
 public virtual int FillPage(DataSet dataSet, int startRow, int maxRows)
 {
     this.S_OD_REKAP_POSTOTNESet = (S_OD_REKAP_POSTOTNEDataSet)dataSet;
     if (this.S_OD_REKAP_POSTOTNESet != null)
     {
         return(this.FillPage(this.S_OD_REKAP_POSTOTNESet, startRow, maxRows));
     }
     this.S_OD_REKAP_POSTOTNESet = new S_OD_REKAP_POSTOTNEDataSet();
     this.FillPage(this.S_OD_REKAP_POSTOTNESet, startRow, maxRows);
     dataSet.Merge(this.S_OD_REKAP_POSTOTNESet);
     return(0);
 }
Exemple #6
0
 public virtual int Fill(S_OD_REKAP_POSTOTNEDataSet dataSet, string iDOBRACUN)
 {
     this.Initialize();
     this.connDefault            = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.S_OD_REKAP_POSTOTNESet = dataSet;
     this.rowS_OD_REKAP_POSTOTNE = this.S_OD_REKAP_POSTOTNESet.S_OD_REKAP_POSTOTNE.NewS_OD_REKAP_POSTOTNERow();
     this.SetFillParameters(iDOBRACUN);
     this.AV8IDOBRAC = iDOBRACUN;
     try
     {
         this.executePrivate(0, -1);
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }