Posts by Alexandro Maceiras • 21 points
1 post
-
2
votes4
answers4566
viewsA: How do I update my data in the table using the Entityframework?
The simplest thing is to do it this way: db is the instantiated context so: nomeContext db = new nomeContext(); Then do this: var registro = db.NomeDaTabela.FirstOrDefault(c => c.chavePrimaria);…