Exemplo n.º 1
0
 public S_OD_TABLICA01DataSet.S_OD_TABLICA01Row AddS_OD_TABLICA01Row(decimal iZNOS, string mJESECOBRACUNA, string gODINAOBRACUNA, int nARADU, int nAKNADA)
 {
     S_OD_TABLICA01DataSet.S_OD_TABLICA01Row row = (S_OD_TABLICA01DataSet.S_OD_TABLICA01Row) this.NewRow();
     row.ItemArray = new object[] { iZNOS, mJESECOBRACUNA, gODINAOBRACUNA, nARADU, nAKNADA };
     this.Rows.Add(row);
     return(row);
 }
Exemplo n.º 2
0
        public void executePrivate(int startRow, int maxRows)
        {
            this.cmS_OD_TABLICA01Select2 = this.connDefault.GetCommand("S_PLACA_TABLICA01", true);
            this.cmS_OD_TABLICA01Select2.IDbCommand.CommandType = CommandType.StoredProcedure;
            this.cmS_OD_TABLICA01Select2.IDbCommand.Parameters.Clear();
            this.cmS_OD_TABLICA01Select2.IDbCommand.Parameters.Add(this.dsDefault.GetDbParameter("@GODINA", this.AV8GODINA));
            this.cmS_OD_TABLICA01Select2.ErrorMask |= ErrorMask.Lock;
            this.S_OD_TABLICA01Select2              = this.cmS_OD_TABLICA01Select2.FetchData();
            while (this.cmS_OD_TABLICA01Select2.HasMoreRows && (startRow > 0))
            {
                startRow--;
                this.cmS_OD_TABLICA01Select2.HasMoreRows = this.S_OD_TABLICA01Select2.Read();
            }
            int num = 0;

            while (this.cmS_OD_TABLICA01Select2.HasMoreRows && (num != maxRows))
            {
                this.rowS_OD_TABLICA01["IZNOS"]          = RuntimeHelpers.GetObjectValue(this.S_OD_TABLICA01Select2["IZNOS"]);
                this.rowS_OD_TABLICA01["MJESECOBRACUNA"] = RuntimeHelpers.GetObjectValue(this.S_OD_TABLICA01Select2["MJESECOBRACUNA"]);
                this.rowS_OD_TABLICA01["GODINAOBRACUNA"] = RuntimeHelpers.GetObjectValue(this.S_OD_TABLICA01Select2["GODINAOBRACUNA"]);
                this.rowS_OD_TABLICA01["NARADU"]         = RuntimeHelpers.GetObjectValue(this.S_OD_TABLICA01Select2["NARADU"]);
                this.rowS_OD_TABLICA01["NAKNADA"]        = RuntimeHelpers.GetObjectValue(this.S_OD_TABLICA01Select2["NAKNADA"]);
                this.AddRowS_od_tablica01();
                num++;
                this.rowS_OD_TABLICA01 = this.S_OD_TABLICA01Set.S_OD_TABLICA01.NewS_OD_TABLICA01Row();
                this.cmS_OD_TABLICA01Select2.HasMoreRows = this.S_OD_TABLICA01Select2.Read();
            }
            this.S_OD_TABLICA01Select2.Close();
            this.Cleanup();
        }
Exemplo n.º 3
0
 public virtual int Fill(S_OD_TABLICA01DataSet dataSet, string gODINA)
 {
     this.Initialize();
     this.connDefault       = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.S_OD_TABLICA01Set = dataSet;
     this.rowS_OD_TABLICA01 = this.S_OD_TABLICA01Set.S_OD_TABLICA01.NewS_OD_TABLICA01Row();
     this.SetFillParameters(gODINA);
     this.AV8GODINA = gODINA;
     try
     {
         this.executePrivate(0, -1);
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }
Exemplo n.º 4
0
 public S_OD_TABLICA01RowChangeEvent(S_OD_TABLICA01DataSet.S_OD_TABLICA01Row row, DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }
Exemplo n.º 5
0
 public void RemoveS_OD_TABLICA01Row(S_OD_TABLICA01DataSet.S_OD_TABLICA01Row row)
 {
     this.Rows.Remove(row);
 }
Exemplo n.º 6
0
 public void AddS_OD_TABLICA01Row(S_OD_TABLICA01DataSet.S_OD_TABLICA01Row row)
 {
     this.Rows.Add(row);
 }