public TaskListPage() { InitializeComponent(); DbTask dbTask = new DbTask(); IEnumerable <TimeTable.Common.Task> taskList = dbTask.GetAll(); TaskListView.ItemsSource = taskList; }