Beispiel #1
0
        public void executePrivate(int startRow, int maxRows)
        {
            this.cmS_OS_STANJE_LOKACIJA_SVI_BROJEVISelect2 = this.connDefault.GetCommand("S_OS_STANJE_LOKACIJA_SVI_BROJEVI", true);
            this.cmS_OS_STANJE_LOKACIJA_SVI_BROJEVISelect2.IDbCommand.CommandType = CommandType.StoredProcedure;
            this.cmS_OS_STANJE_LOKACIJA_SVI_BROJEVISelect2.IDbCommand.Parameters.Clear();
            this.cmS_OS_STANJE_LOKACIJA_SVI_BROJEVISelect2.ErrorMask |= ErrorMask.Lock;
            this.S_OS_STANJE_LOKACIJA_SVI_BROJEVISelect2              = this.cmS_OS_STANJE_LOKACIJA_SVI_BROJEVISelect2.FetchData();
            while (this.cmS_OS_STANJE_LOKACIJA_SVI_BROJEVISelect2.HasMoreRows && (startRow > 0))
            {
                startRow--;
                this.cmS_OS_STANJE_LOKACIJA_SVI_BROJEVISelect2.HasMoreRows = this.S_OS_STANJE_LOKACIJA_SVI_BROJEVISelect2.Read();
            }
            int num = 0;

            while (this.cmS_OS_STANJE_LOKACIJA_SVI_BROJEVISelect2.HasMoreRows && (num != maxRows))
            {
                this.rowS_OS_STANJE_LOKACIJA_SVI_BROJEVI["IDLOKACIJE"]   = RuntimeHelpers.GetObjectValue(this.S_OS_STANJE_LOKACIJA_SVI_BROJEVISelect2["IDLOKACIJE"]);
                this.rowS_OS_STANJE_LOKACIJA_SVI_BROJEVI["INVBROJ"]      = RuntimeHelpers.GetObjectValue(this.S_OS_STANJE_LOKACIJA_SVI_BROJEVISelect2["INVBROJ"]);
                this.rowS_OS_STANJE_LOKACIJA_SVI_BROJEVI["ULAZ"]         = RuntimeHelpers.GetObjectValue(this.S_OS_STANJE_LOKACIJA_SVI_BROJEVISelect2["ULAZ"]);
                this.rowS_OS_STANJE_LOKACIJA_SVI_BROJEVI["IZLAZ"]        = RuntimeHelpers.GetObjectValue(this.S_OS_STANJE_LOKACIJA_SVI_BROJEVISelect2["IZLAZ"]);
                this.rowS_OS_STANJE_LOKACIJA_SVI_BROJEVI["STANJE"]       = RuntimeHelpers.GetObjectValue(this.S_OS_STANJE_LOKACIJA_SVI_BROJEVISelect2["STANJE"]);
                this.rowS_OS_STANJE_LOKACIJA_SVI_BROJEVI["OPISLOKACIJE"] = RuntimeHelpers.GetObjectValue(this.S_OS_STANJE_LOKACIJA_SVI_BROJEVISelect2["OPISLOKACIJE"]);
                this.rowS_OS_STANJE_LOKACIJA_SVI_BROJEVI["NAZIVOS"]      = RuntimeHelpers.GetObjectValue(this.S_OS_STANJE_LOKACIJA_SVI_BROJEVISelect2["NAZIVOS"]);
                this.AddRowS_os_stanje_lokacija_svi_brojevi();
                num++;
                this.rowS_OS_STANJE_LOKACIJA_SVI_BROJEVI = this.S_OS_STANJE_LOKACIJA_SVI_BROJEVISet.S_OS_STANJE_LOKACIJA_SVI_BROJEVI.NewS_OS_STANJE_LOKACIJA_SVI_BROJEVIRow();
                this.cmS_OS_STANJE_LOKACIJA_SVI_BROJEVISelect2.HasMoreRows = this.S_OS_STANJE_LOKACIJA_SVI_BROJEVISelect2.Read();
            }
            this.S_OS_STANJE_LOKACIJA_SVI_BROJEVISelect2.Close();
            this.Cleanup();
        }
Beispiel #2
0
 public virtual int Fill(S_OS_STANJE_LOKACIJA_SVI_BROJEVIDataSet dataSet)
 {
     this.Initialize();
     this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.S_OS_STANJE_LOKACIJA_SVI_BROJEVISet = dataSet;
     this.rowS_OS_STANJE_LOKACIJA_SVI_BROJEVI = this.S_OS_STANJE_LOKACIJA_SVI_BROJEVISet.S_OS_STANJE_LOKACIJA_SVI_BROJEVI.NewS_OS_STANJE_LOKACIJA_SVI_BROJEVIRow();
     try
     {
         this.executePrivate(0, -1);
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }
Beispiel #3
0
 public S_OS_STANJE_LOKACIJA_SVI_BROJEVIRowChangeEvent(S_OS_STANJE_LOKACIJA_SVI_BROJEVIDataSet.S_OS_STANJE_LOKACIJA_SVI_BROJEVIRow row, DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }
Beispiel #4
0
 public void RemoveS_OS_STANJE_LOKACIJA_SVI_BROJEVIRow(S_OS_STANJE_LOKACIJA_SVI_BROJEVIDataSet.S_OS_STANJE_LOKACIJA_SVI_BROJEVIRow row)
 {
     this.Rows.Remove(row);
 }
Beispiel #5
0
 public S_OS_STANJE_LOKACIJA_SVI_BROJEVIDataSet.S_OS_STANJE_LOKACIJA_SVI_BROJEVIRow AddS_OS_STANJE_LOKACIJA_SVI_BROJEVIRow(int iDLOKACIJE, long iNVBROJ, decimal uLAZ, decimal iZLAZ, decimal sTANJE, string oPISLOKACIJE, string nAZIVOS)
 {
     S_OS_STANJE_LOKACIJA_SVI_BROJEVIDataSet.S_OS_STANJE_LOKACIJA_SVI_BROJEVIRow row = (S_OS_STANJE_LOKACIJA_SVI_BROJEVIDataSet.S_OS_STANJE_LOKACIJA_SVI_BROJEVIRow) this.NewRow();
     row.ItemArray = new object[] { iDLOKACIJE, iNVBROJ, uLAZ, iZLAZ, sTANJE, oPISLOKACIJE, nAZIVOS };
     this.Rows.Add(row);
     return(row);
 }
Beispiel #6
0
 public void AddS_OS_STANJE_LOKACIJA_SVI_BROJEVIRow(S_OS_STANJE_LOKACIJA_SVI_BROJEVIDataSet.S_OS_STANJE_LOKACIJA_SVI_BROJEVIRow row)
 {
     this.Rows.Add(row);
 }