Esempio n. 1
0
 public void queryItem()
 {
     List<ItemDataEntity> entities = new ItemDao().GetAllItems() as List<ItemDataEntity>;
     Assert.NotNull(entities);
     foreach(ItemDataEntity entity in entities){
         Console.WriteLine(entity.Name);
     }
 }
Esempio n. 2
0
 public void queryByName()
 {
     ItemDataEntity entity = new ItemDao().GetByName("Biogesic");
     Console.WriteLine(entity.Barcode);
 }