public void executePrivate(int startRow, int maxRows) { this.cmS_OD_REKAP_NETOSelect2 = this.connDefault.GetCommand("S_PLACA_NETO", true); this.cmS_OD_REKAP_NETOSelect2.IDbCommand.CommandType = CommandType.StoredProcedure; this.cmS_OD_REKAP_NETOSelect2.IDbCommand.Parameters.Clear(); this.cmS_OD_REKAP_NETOSelect2.IDbCommand.Parameters.Add(this.dsDefault.GetDbParameter("@IDOBRACUN", this.AV8IDOBRAC)); this.cmS_OD_REKAP_NETOSelect2.ErrorMask |= ErrorMask.Lock; this.S_OD_REKAP_NETOSelect2 = this.cmS_OD_REKAP_NETOSelect2.FetchData(); while (this.cmS_OD_REKAP_NETOSelect2.HasMoreRows && (startRow > 0)) { startRow--; this.cmS_OD_REKAP_NETOSelect2.HasMoreRows = this.S_OD_REKAP_NETOSelect2.Read(); } int num = 0; while (this.cmS_OD_REKAP_NETOSelect2.HasMoreRows && (num != maxRows)) { this.rowS_OD_REKAP_NETO["sati"] = RuntimeHelpers.GetObjectValue(this.S_OD_REKAP_NETOSelect2["SATI"]); this.rowS_OD_REKAP_NETO["IZNOS"] = RuntimeHelpers.GetObjectValue(this.S_OD_REKAP_NETOSelect2["IZNOS"]); this.rowS_OD_REKAP_NETO["PREZIME"] = RuntimeHelpers.GetObjectValue(this.S_OD_REKAP_NETOSelect2["PREZIME"]); this.rowS_OD_REKAP_NETO["IME"] = RuntimeHelpers.GetObjectValue(this.S_OD_REKAP_NETOSelect2["IME"]); this.rowS_OD_REKAP_NETO["JMBG"] = RuntimeHelpers.GetObjectValue(this.S_OD_REKAP_NETOSelect2["JMBG"]); this.rowS_OD_REKAP_NETO["IDRADNIK"] = RuntimeHelpers.GetObjectValue(this.S_OD_REKAP_NETOSelect2["IDRADNIK"]); this.rowS_OD_REKAP_NETO["IDVRSTAELEMENTA"] = RuntimeHelpers.GetObjectValue(this.S_OD_REKAP_NETOSelect2["IDVRSTAELEMENTA"]); this.rowS_OD_REKAP_NETO["NAZIVELEMENT"] = RuntimeHelpers.GetObjectValue(this.S_OD_REKAP_NETOSelect2["NAZIVELEMENT"]); this.rowS_OD_REKAP_NETO["NAZIVVRSTAELEMENT"] = RuntimeHelpers.GetObjectValue(this.S_OD_REKAP_NETOSelect2["NAZIVVRSTAELEMENT"]); this.AddRowS_od_rekap_neto(); num++; this.rowS_OD_REKAP_NETO = this.S_OD_REKAP_NETOSet.S_OD_REKAP_NETO.NewS_OD_REKAP_NETORow(); this.cmS_OD_REKAP_NETOSelect2.HasMoreRows = this.S_OD_REKAP_NETOSelect2.Read(); } this.S_OD_REKAP_NETOSelect2.Close(); this.Cleanup(); }
public S_OD_REKAP_NETODataSet.S_OD_REKAP_NETORow AddS_OD_REKAP_NETORow(decimal sati, decimal iZNOS, string pREZIME, string iME, string jMBG, int iDRADNIK, short iDVRSTAELEMENTA, string nAZIVELEMENT, string nAZIVVRSTAELEMENT) { S_OD_REKAP_NETODataSet.S_OD_REKAP_NETORow row = (S_OD_REKAP_NETODataSet.S_OD_REKAP_NETORow) this.NewRow(); row.ItemArray = new object[] { sati, iZNOS, pREZIME, iME, jMBG, iDRADNIK, iDVRSTAELEMENTA, nAZIVELEMENT, nAZIVVRSTAELEMENT }; this.Rows.Add(row); return(row); }
public virtual int Fill(S_OD_REKAP_NETODataSet dataSet, string iDOBRACUN) { this.Initialize(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.S_OD_REKAP_NETOSet = dataSet; this.rowS_OD_REKAP_NETO = this.S_OD_REKAP_NETOSet.S_OD_REKAP_NETO.NewS_OD_REKAP_NETORow(); this.SetFillParameters(iDOBRACUN); this.AV8IDOBRAC = iDOBRACUN; try { this.executePrivate(0, -1); } finally { this.Cleanup(); } return(0); }
public void RemoveS_OD_REKAP_NETORow(S_OD_REKAP_NETODataSet.S_OD_REKAP_NETORow row) { this.Rows.Remove(row); }
public void AddS_OD_REKAP_NETORow(S_OD_REKAP_NETODataSet.S_OD_REKAP_NETORow row) { this.Rows.Add(row); }
public S_OD_REKAP_NETORowChangeEvent(S_OD_REKAP_NETODataSet.S_OD_REKAP_NETORow row, DataRowAction action) { this.eventRow = row; this.eventAction = action; }