public KUNDER Get(string customerNo) { using (var context = new InfoFlexEntities()) { return(context.KUNDER.FirstOrDefault(x => x.KUNDNR == customerNo)); } }
public List <KUNDER> Get() { using (var context = new InfoFlexEntities()) { return(context.KUNDER.ToList()); } }
public List <ARTIKLAR> Get() { using (var context = new InfoFlexEntities()) { return(context.ARTIKLAR.Where(x => x.KLASS == "90").ToList()); } }
public ARTIKLAR Get(string artNo) { using (var context = new InfoFlexEntities()) { var waste = context.ARTIKLAR.FirstOrDefault(x => x.ARTNR == artNo); return(waste); } }