コード例 #1
0
 public tb_dependenciaService(ConfiguracaoBaseDataBase dataBaseConfig, LogService log)
 {
     _log            = log;
     _databaseConfig = dataBaseConfig;
     _factory        = new CorporativoDaoFactory(_databaseConfig, _log);
     _factoryCore    = new CoreDaoFactory(_databaseConfig);
     _empresaService = new tb_empresaService(_databaseConfig, _log);
 }
コード例 #2
0
 public OperadorGerenteService(ConfiguracaoBaseDataBase dataBaseConfig, LogService log)
 {
     _log             = log;
     _databaseConfig  = dataBaseConfig;
     _serviceOperador = new tb_operadorService(dataBaseConfig, _log);
     _serviceGerente  = new tb_gerenteService(dataBaseConfig, _log);
     _factoryCore     = new CoreDaoFactory(dataBaseConfig);
 }