TeachersPredmetsViewModel.cs 569 B

123456789101112131415
  1. using System;
  2. using System.Collections.Generic;
  3. using AvaloniaApplication3.Models;
  4. using Microsoft.EntityFrameworkCore;
  5. using ReactiveUI;
  6. namespace AvaloniaApplication3.ViewModels
  7. {
  8. public class TeachersPredmetsViewModel : ReactiveObject
  9. {
  10. TestDataBaseCheskinaContext db = new TestDataBaseCheskinaContext();
  11. private List<ProgramsWithAcademicSubject> subjects = new TestDataBaseCheskinaContext().ProgramsWithAcademicSubjects.Include(x => x.IdTeacherNavigation).Include(x => x.IdAcademicSubjectNavigation).Include(x => x.IdProgramNavigation).ToL;
  12. }
  13. }