예제 #1
0
 public virtual int Fill(S_OD_KONACNIDataSet dataSet)
 {
     if (this.fillDataParameters == null)
     {
         throw new ArgumentException();
     }
     this.Fill(dataSet, int.Parse(this.fillDataParameters[0].Value.ToString()), this.fillDataParameters[1].Value.ToString());
     return(0);
 }
예제 #2
0
 public virtual void Fill()
 {
     this.PreFill();
     this.dsS_OD_KONACNIDataSet1 = new S_OD_KONACNIDataSet();
     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_OD_KONACNISet = (S_OD_KONACNIDataSet)dataSet;
     if (this.S_OD_KONACNISet != null)
     {
         return(this.Fill(this.S_OD_KONACNISet));
     }
     this.S_OD_KONACNISet = new S_OD_KONACNIDataSet();
     this.Fill(this.S_OD_KONACNISet);
     dataSet.Merge(this.S_OD_KONACNISet);
     return(0);
 }
예제 #4
0
 public virtual int FillPage(DataSet dataSet, int startRow, int maxRows)
 {
     this.S_OD_KONACNISet = (S_OD_KONACNIDataSet)dataSet;
     if (this.S_OD_KONACNISet != null)
     {
         return(this.FillPage(this.S_OD_KONACNISet, startRow, maxRows));
     }
     this.S_OD_KONACNISet = new S_OD_KONACNIDataSet();
     this.FillPage(this.S_OD_KONACNISet, startRow, maxRows);
     dataSet.Merge(this.S_OD_KONACNISet);
     return(0);
 }
예제 #5
0
 public virtual int FillPage(S_OD_KONACNIDataSet dataSet, int gODINA, string iDOBRACUN, int startRow, int maxRows)
 {
     this.Initialize();
     this.connDefault     = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.S_OD_KONACNISet = dataSet;
     this.rowS_OD_KONACNI = this.S_OD_KONACNISet.S_OD_KONACNI.NewS_OD_KONACNIRow();
     this.SetFillParameters(gODINA, iDOBRACUN);
     this.AV8GODINA  = gODINA;
     this.AV9IDOBRAC = iDOBRACUN;
     try
     {
         this.executePrivate(startRow, maxRows);
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }