public virtual void SetUp() { ServiceLocatorInitializer.Init(); string[] mappingAssemblies = RepositoryTestsHelper.GetMappingAssemblies(); _configuration = NHibernateSession.Init(new SimpleSessionStorage(), mappingAssemblies, "../../../../app/wrms.Web/NHibernate.config"); NHibernateSession.AddConfiguration(DataGlobals.SDE_DB_FACTORY_KEY, mappingAssemblies, null, "../../../../app/wrms.Web/NHibernateSde.config", null, null, null); _workOrderRepository = new SdeWorkOrderRepository(); //_requestRepository = new RequestRepository(); //_wrmsSystemRepository = new WrmsSystemRepository(); }
public ReportManagementService(IPersonManagementService personManagementService, ISdeWorkOrderRepository sdeWorkOrderRepository) { _personManagementService = personManagementService; _sdeWorkOrderRepository = sdeWorkOrderRepository; }
public ReportManagementService(IPersonManagementService personManagementService, ISdeWorkOrderRepository sdeWorkOrderRepository) { _personManagementService = personManagementService; _sdeWorkOrderRepository = sdeWorkOrderRepository; }