public PopunaCmBox()
 {
     mesto          = new MestoBLL();
     ulica          = new UlicaBLL();
     adresa         = new AdresaBLL();
     proizvod       = new ProizvodBLL();
     vrstaproizvoda = new VrstaBLL();
     jm             = new JedinicaMereBLL();
     kupac          = new KupacBLL();
     racun          = new RacunBLL();
     stavkaracuna   = new StavkaRacunaBLL();
 }
Example #2
0
 public void izmeniJM(JedinicaMereBLL JM)
 {
     sqlUpit = null;
     sqlUpit = "UPDATE Jedinica_Mere SET Naziv_jedinice_mere = '" + JM.Naziv_jedinice_mere + "' WHERE id_jedinice_mere = " + JM.ID_Jedinice_mere;
     bk.Promeni(sqlUpit);
 }
Example #3
0
 public void brisiJM(JedinicaMereBLL JM)
 {
     sqlUpit = null;
     sqlUpit = "delete from Jedinica_Mere where id_jedinice_mere=" + JM.ID_Jedinice_mere;
     bk.UnesiObrisi(sqlUpit);
 }
Example #4
0
 public void unosJM(JedinicaMereBLL JM)
 {
     sqlUpit = null;
     sqlUpit = "INSERT INTO Jedinica_Mere (Naziv_jedinice_mere) Values ('" + JM.Naziv_jedinice_mere + "')";
     bk.UnesiObrisi(sqlUpit);
 }