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