Exemple #1
0
 public virtual int FillPage(S_FIN_KARTICEPARTNERADataSet dataSet, int oRG, int mT, int dOK, DateTime rAZDOBLJEOD, DateTime rAZDOBLJEDO, string pOCETNIKONTO, string zAVRSNIKONTO, int iDAKTIVNOST, int iDPARTNER, string sORT, int startRow, int maxRows)
 {
     this.Initialize();
     this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.S_FIN_KARTICEPARTNERASet = dataSet;
     this.rowS_FIN_KARTICEPARTNERA = this.S_FIN_KARTICEPARTNERASet.S_FIN_KARTICEPARTNERA.NewS_FIN_KARTICEPARTNERARow();
     this.SetFillParameters(oRG, mT, dOK, rAZDOBLJEOD, rAZDOBLJEDO, pOCETNIKONTO, zAVRSNIKONTO, iDAKTIVNOST, iDPARTNER, sORT);
     this.AV8ORG     = oRG;
     this.AV9MT      = mT;
     this.AV10DOK    = dOK;
     this.AV11RAZDOB = DateTimeUtil.ResetTime(rAZDOBLJEOD);
     this.AV12RAZDOB = DateTimeUtil.ResetTime(rAZDOBLJEDO);
     this.AV13POCETN = pOCETNIKONTO;
     this.AV14ZAVRSN = zAVRSNIKONTO;
     this.AV15IDAKTI = iDAKTIVNOST;
     this.AV16IDPART = iDPARTNER;
     this.AV17SORT   = sORT;
     try
     {
         this.executePrivate(startRow, maxRows);
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }
Exemple #2
0
 public virtual void Fill()
 {
     this.PreFill();
     this.dsS_FIN_KARTICEPARTNERADataSet1 = new S_FIN_KARTICEPARTNERADataSet();
     this.m_StartRow    = 0;
     this.Cursor        = Cursors.WaitCursor;
     this.m_GridLoading = true;
     ThreadPool.QueueUserWorkItem(new WaitCallback(this.FillDataThread), Thread.CurrentPrincipal);
 }
Exemple #3
0
 public virtual int FillPage(S_FIN_KARTICEPARTNERADataSet dataSet, int startRow, int maxRows)
 {
     if (this.fillDataParameters == null)
     {
         throw new ArgumentException();
     }
     this.FillPage(dataSet, int.Parse(this.fillDataParameters[0].Value.ToString()), int.Parse(this.fillDataParameters[1].Value.ToString()), int.Parse(this.fillDataParameters[2].Value.ToString()), DateTime.Parse(this.fillDataParameters[3].Value.ToString()), DateTime.Parse(this.fillDataParameters[4].Value.ToString()), this.fillDataParameters[5].Value.ToString(), this.fillDataParameters[6].Value.ToString(), int.Parse(this.fillDataParameters[7].Value.ToString()), int.Parse(this.fillDataParameters[8].Value.ToString()), this.fillDataParameters[9].Value.ToString(), startRow, maxRows);
     return(0);
 }
Exemple #4
0
 public virtual int FillPage(DataSet dataSet, int startRow, int maxRows)
 {
     this.S_FIN_KARTICEPARTNERASet = (S_FIN_KARTICEPARTNERADataSet)dataSet;
     if (this.S_FIN_KARTICEPARTNERASet != null)
     {
         return(this.FillPage(this.S_FIN_KARTICEPARTNERASet, startRow, maxRows));
     }
     this.S_FIN_KARTICEPARTNERASet = new S_FIN_KARTICEPARTNERADataSet();
     this.FillPage(this.S_FIN_KARTICEPARTNERASet, startRow, maxRows);
     dataSet.Merge(this.S_FIN_KARTICEPARTNERASet);
     return(0);
 }
Exemple #5
0
 public virtual int Fill(DataSet dataSet)
 {
     this.S_FIN_KARTICEPARTNERASet = (S_FIN_KARTICEPARTNERADataSet)dataSet;
     if (this.S_FIN_KARTICEPARTNERASet != null)
     {
         return(this.Fill(this.S_FIN_KARTICEPARTNERASet));
     }
     this.S_FIN_KARTICEPARTNERASet = new S_FIN_KARTICEPARTNERADataSet();
     this.Fill(this.S_FIN_KARTICEPARTNERASet);
     dataSet.Merge(this.S_FIN_KARTICEPARTNERASet);
     return(0);
 }