Exemplo 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);
     }
 }
Exemplo n.º 2
0
 public void queryByName()
 {
     ItemDataEntity entity = new ItemDao().GetByName("Biogesic");
     Console.WriteLine(entity.Barcode);
 }