Posts by Cristian Worth • 1 point
1 post
-
-2
votes4
answers957
viewsA: Multiple Contexts Migrations Entity Framework
You create only ONE connection, and use it for your project. So: Context contexto = new Context(); <----(cria uma conexao) ProjetoRepository nomeRepositorio = new ProjetoRepository (contexto);…