示例#1
0
 public virtual int Fill(S_FIN_BLAGAJNA_U_GKDataSet dataSet)
 {
     if (this.fillDataParameters == null)
     {
         throw new ArgumentException();
     }
     this.Fill(dataSet, DateTime.Parse(this.fillDataParameters[0].Value.ToString()), DateTime.Parse(this.fillDataParameters[1].Value.ToString()), int.Parse(this.fillDataParameters[2].Value.ToString()));
     return(0);
 }
示例#2
0
 public virtual void Fill()
 {
     this.PreFill();
     this.dsS_FIN_BLAGAJNA_U_GKDataSet1 = new S_FIN_BLAGAJNA_U_GKDataSet();
     this.m_StartRow    = 0;
     this.Cursor        = Cursors.WaitCursor;
     this.m_GridLoading = true;
     ThreadPool.QueueUserWorkItem(new WaitCallback(this.FillDataThread), Thread.CurrentPrincipal);
 }
示例#3
0
 public virtual int Fill(DataSet dataSet)
 {
     this.S_FIN_BLAGAJNA_U_GKSet = (S_FIN_BLAGAJNA_U_GKDataSet)dataSet;
     if (this.S_FIN_BLAGAJNA_U_GKSet != null)
     {
         return(this.Fill(this.S_FIN_BLAGAJNA_U_GKSet));
     }
     this.S_FIN_BLAGAJNA_U_GKSet = new S_FIN_BLAGAJNA_U_GKDataSet();
     this.Fill(this.S_FIN_BLAGAJNA_U_GKSet);
     dataSet.Merge(this.S_FIN_BLAGAJNA_U_GKSet);
     return(0);
 }
示例#4
0
 public virtual int FillPage(DataSet dataSet, int startRow, int maxRows)
 {
     this.S_FIN_BLAGAJNA_U_GKSet = (S_FIN_BLAGAJNA_U_GKDataSet)dataSet;
     if (this.S_FIN_BLAGAJNA_U_GKSet != null)
     {
         return(this.FillPage(this.S_FIN_BLAGAJNA_U_GKSet, startRow, maxRows));
     }
     this.S_FIN_BLAGAJNA_U_GKSet = new S_FIN_BLAGAJNA_U_GKDataSet();
     this.FillPage(this.S_FIN_BLAGAJNA_U_GKSet, startRow, maxRows);
     dataSet.Merge(this.S_FIN_BLAGAJNA_U_GKSet);
     return(0);
 }
示例#5
0
 public virtual int FillPage(S_FIN_BLAGAJNA_U_GKDataSet dataSet, DateTime dAT1, DateTime dAT2, int bLAG, int startRow, int maxRows)
 {
     this.Initialize();
     this.connDefault            = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.S_FIN_BLAGAJNA_U_GKSet = dataSet;
     this.rowS_FIN_BLAGAJNA_U_GK = this.S_FIN_BLAGAJNA_U_GKSet.S_FIN_BLAGAJNA_U_GK.NewS_FIN_BLAGAJNA_U_GKRow();
     this.SetFillParameters(dAT1, dAT2, bLAG);
     this.AV8DAT1  = DateTimeUtil.ResetTime(dAT1);
     this.AV9DAT2  = DateTimeUtil.ResetTime(dAT2);
     this.AV10BLAG = bLAG;
     try
     {
         this.executePrivate(startRow, maxRows);
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }