using System; using System.Collections.Generic; using AvaloniaApplication3.Models; using Microsoft.EntityFrameworkCore; using ReactiveUI; namespace AvaloniaApplication3.ViewModels { public class TeachersPredmetsViewModel : ReactiveObject { TestDataBaseCheskinaContext db = new TestDataBaseCheskinaContext(); private List subjects = new TestDataBaseCheskinaContext().ProgramsWithAcademicSubjects.Include(x => x.IdTeacherNavigation).Include(x => x.IdAcademicSubjectNavigation).Include(x => x.IdProgramNavigation).ToL; } }