示例#1
0
 public KUNDER Get(string customerNo)
 {
     using (var context = new InfoFlexEntities())
     {
         return(context.KUNDER.FirstOrDefault(x => x.KUNDNR == customerNo));
     }
 }
示例#2
0
 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);
     }
 }