Ejemplo n.º 1
0
 private void ReturnOneRecord()
 {
     Models.FoodItem fi = new Models.FoodItem();
     fi = DataBaseTools.SearchRecords <Models.FoodItem>("FoodItem", "SavingObjectsToDatabase.Models.FoodItem", "Name", "Banana");
     lv1.Items.Add(fi.Name);
 }