예제 #1
0
 private void InicializaConexao()
 {
     TConexao.Open();
     _service = new JogoService(TConexao.unitofWork, TConexao.context);
 }
예제 #2
0
 private void InicializaConexao()
 {
     TConexao.Open();
     _service            = new PratoService(TConexao.unitofWork, TConexao.context);
     _serviceRestaurante = new RestauranteService(TConexao.unitofWork, TConexao.context);
 }
예제 #3
0
 protected void Application_BeginRequest(object sender, EventArgs e)
 {
     TConexao.Open();
 }