public void executePrivate(int startRow, int maxRows) { this.cmS_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICASelect2 = this.connDefault.GetCommand("S_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICA", true); this.cmS_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICASelect2.IDbCommand.CommandType = CommandType.StoredProcedure; this.cmS_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICASelect2.IDbCommand.Parameters.Clear(); this.cmS_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICASelect2.IDbCommand.Parameters.Add(this.dsDefault.GetDbParameter("@IDLOKACIJE", this.AV8IDLOKAC)); this.cmS_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICASelect2.ErrorMask |= ErrorMask.Lock; this.S_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICASelect2 = this.cmS_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICASelect2.FetchData(); while (this.cmS_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICASelect2.HasMoreRows && (startRow > 0)) { startRow--; this.cmS_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICASelect2.HasMoreRows = this.S_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICASelect2.Read(); } int num = 0; while (this.cmS_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICASelect2.HasMoreRows && (num != maxRows)) { this.rowS_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICA["IDLOKACIJE"] = RuntimeHelpers.GetObjectValue(this.S_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICASelect2["IDLOKACIJE"]); this.rowS_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICA["INVBROJ"] = RuntimeHelpers.GetObjectValue(this.S_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICASelect2["INVBROJ"]); this.rowS_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICA["ULAZ"] = RuntimeHelpers.GetObjectValue(this.S_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICASelect2["ULAZ"]); this.rowS_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICA["IZLAZ"] = RuntimeHelpers.GetObjectValue(this.S_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICASelect2["IZLAZ"]); this.rowS_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICA["STANJE"] = RuntimeHelpers.GetObjectValue(this.S_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICASelect2["STANJE"]); this.rowS_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICA["OPISLOKACIJE"] = RuntimeHelpers.GetObjectValue(this.S_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICASelect2["OPISLOKACIJE"]); this.rowS_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICA["NAZIVOS"] = RuntimeHelpers.GetObjectValue(this.S_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICASelect2["NAZIVOS"]); this.AddRowS_os_stanje_lokacija_ispis_naljepnica(); num++; this.rowS_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICA = this.S_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICASet.S_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICA.NewS_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICARow(); this.cmS_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICASelect2.HasMoreRows = this.S_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICASelect2.Read(); } this.S_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICASelect2.Close(); this.Cleanup(); }
public virtual int Fill(S_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICADataSet dataSet, int iDLOKACIJE) { this.Initialize(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.S_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICASet = dataSet; this.rowS_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICA = this.S_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICASet.S_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICA.NewS_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICARow(); this.SetFillParameters(iDLOKACIJE); this.AV8IDLOKAC = iDLOKACIJE; try { this.executePrivate(0, -1); } finally { this.Cleanup(); } return(0); }
public S_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICARowChangeEvent(S_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICADataSet.S_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICARow row, DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void RemoveS_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICARow(S_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICADataSet.S_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICARow row) { this.Rows.Remove(row); }
public S_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICADataSet.S_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICARow AddS_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICARow(int iDLOKACIJE, long iNVBROJ, decimal uLAZ, decimal iZLAZ, decimal sTANJE, string oPISLOKACIJE, string nAZIVOS) { S_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICADataSet.S_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICARow row = (S_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICADataSet.S_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICARow) this.NewRow(); row.ItemArray = new object[] { iDLOKACIJE, iNVBROJ, uLAZ, iZLAZ, sTANJE, oPISLOKACIJE, nAZIVOS }; this.Rows.Add(row); return(row); }
public void AddS_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICARow(S_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICADataSet.S_OS_STANJE_LOKACIJA_ISPIS_NALJEPNICARow row) { this.Rows.Add(row); }