public ProdutoDAOEntity() { this.contexto = new LojaContext(); } Recebi o erro "System.InvalidOperationException: 'No database provider has been configured for this DbContext. A provider can be configured by overriding the DbContext.OnConfiguring method or by using AddDbContext on the application service provider. If AddDbContext is used, then also ensure that your DbContext type accepts a DbContextOptions object in its constructor and passes it to the base constructor for DbContext.'"
Quando criamos uma instancia do objeto LojaContext() a responsabilidade da conexão ao banco de dados fica para quem?.