public WH(IDALWH dl) { PgP = dl; prvds = PgP.GetPrvds(); cs = PgP.GetConsumers(); gs = PgP.GetGoods(); incom = PgP.GetIncom(); stock = PgP.GetStocks(); leaving = PgP.GetLeav(); //PgP.InsertIncom(1, 4, 100, 33); }
public void InsertLeav(int goods_pk, int consumer_pk, int price, int count) { PgP.InsertLeav(goods_pk, consumer_pk, price, count); leaving = PgP.GetLeav(); stock = PgP.GetStocks(); }