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); }