private void ShowBatches()
 {
     query.ShowBatches().ForEach(x =>
     {
         Console.WriteLine("{0}, {1}, {2}", x.Date, x.NameOfRecipe, x.SumOfPreparedBatches);
     });
 }
示例#2
0
 public void LoadBatches(DataGrid dataGrid)
 {
     dataGrid.ItemsSource = batchQuery.ShowBatches();
 }