コード例 #1
0
        public void Setup()
        {
            var initializer = new DatabaseInitializator();
            initializer.AddMapping<EntityMap>();
            initializer.AddMapping<ConfigurationMap>();

            _session = initializer.GetSession();

            _examinationsDal = new ExaminationsDal(_session);
        }
コード例 #2
0
        public void Setup()
        {
            var initializer = new DatabaseInitializator();
            initializer.AddMapping<EntityMap>();
            initializer.AddMapping<PatientMap>();

            _session = initializer.GetSession();

            _patientsDal = new PatientsDal(_session);
        }
コード例 #3
0
        public void Setup()
        {
            var initializer = new DatabaseInitializator();
            initializer.AddMapping<EntityMap>();
            initializer.AddMapping<DeviceMap>();

            _session = initializer.GetSession();

            _devicesDal = new DevicesDal(_session);
        }