コード例 #1
0
ファイル: CartonLabelService.cs プロジェクト: cuongpv88/work
 public List<Data.Label> GetCartonLabels()
 {
     using (var context=new CartonLabelDbContext())
     {
         return context.Labels.ToList();
     }
 }
コード例 #2
0
ファイル: PartNoService.cs プロジェクト: cuongpv88/work
 public List<Part> GetPartNoes()
 {
     using (var context=new CartonLabelDbContext())
     {
         return context.Parts.ToList();
     }
 }
コード例 #3
0
ファイル: CartonLabelService.cs プロジェクト: cuongpv88/work
 public CartonLabelService()
 {
     _context = new CartonLabelDbContext();
 }