示例#1
0
        public UnitOfWork(
            PatientsRepository patients,
            PractitionersRepository practitioners,
            PractitionerRolesRepository practitionerRoles,
            RelatedPeopleRepository relatedPeople,
            PeopleRepository people,
            OrganizationsRepository organizations,
            HealthcareServicesRepository healthcareServices,
            LocationsRepository locations,
            DevicesRepository devices,
            TasksRepository tasks,
            AppointmentsRepository appointments,
            SchedulesRepository schedules,
            EncountersRepository encounters,
            EpisodesOfCareRepository episodesOfCare,
            FlagsRepository flags
            )
        {
            var database = new FhirDevelopment01DB();

            Patients           = patients;
            Practitioners      = practitioners;
            PractitionerRoles  = practitionerRoles;
            RelatedPeople      = relatedPeople;
            People             = people;
            Organizations      = organizations;
            HealthcareServices = healthcareServices;
            Locations          = locations;
            Devices            = devices;
            Tasks          = tasks;
            Appointments   = appointments;
            Schedules      = schedules;
            Encounters     = encounters;
            EpisodesOfCare = episodesOfCare;
            Flags          = flags;
        }
示例#2
0
 public RelatedPeopleRepository(FhirDevelopment01DB database)
 {
     _database = database;
 }
示例#3
0
 public SchedulesRepository(FhirDevelopment01DB database)
 {
     _database = database;
 }
示例#4
0
 public TasksRepository(FhirDevelopment01DB database)
 {
     _database = database;
 }
示例#5
0
 public AppointmentsRepository(FhirDevelopment01DB database)
 {
     _database = database;
 }
示例#6
0
 public HealthcareServicesRepository(FhirDevelopment01DB database)
 {
     _database = database;
 }
示例#7
0
 public PractitionersRepository(FhirDevelopment01DB database)
 {
     _database = database;
 }
示例#8
0
 public PatientsRepository(FhirDevelopment01DB database)
 {
     _database = database;
 }
示例#9
0
 public DevicesRepository(FhirDevelopment01DB database)
 {
     _database = database;
 }
示例#10
0
 public OrganizationsRepository(FhirDevelopment01DB database)
 {
     _database = database;
 }
示例#11
0
 public EpisodesOfCareRepository(FhirDevelopment01DB database)
 {
     _database = database;
 }
示例#12
0
 public EncountersRepository(FhirDevelopment01DB database)
 {
     _database = database;
 }