Exemplo n.º 1
0
 public ProduktDetailsTyp getProdukt(ProduktNummerTyp prodNr)
 {
     using (var session = LagerComp.getDB().OpenSession())
     using (var transaction = session.BeginTransaction())
     {
         return session.CreateCriteria(typeof(ProduktDetailsTyp)).Add(Restrictions.Like("prodNr", prodNr)).List<ProduktDetailsTyp>().ElementAt(0);
     }
 }
Exemplo n.º 2
0
 public ProduktDetailsTyp getProdukt(ProduktNummerTyp prodNr)
 {
     return hesCore.getLagerComp().getProdukt(prodNr);
 }
Exemplo n.º 3
0
 public bool pruefeLagerbestand(ProduktNummerTyp prod, int Anzahl)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 4
0
 public ProduktDetailsTyp getProdukt(ProduktNummerTyp prodNr)
 {
     return prodRepo.getProdukt(prodNr);
 }
Exemplo n.º 5
0
 public ProduktDetailsTyp(ProduktNummerTyp nr, string name, double preis)
 {
     this.prodNr = nr;
     this.name = name;
     this.preis = preis;
 }