Posts by Alessandre Martins • 61 points
2 posts
-
3
votes1
answer312
viewsQ: Problems with accentuation and Entity Framework
This is an excerpt from my research method at the bank: public dynamic GetAll(Func<TEntity, bool> predicate, int limit, ClassContexto contexto, int idEmpresa) { dynamic data = null; try { data…
-
3
votes1
answer791
viewsQ: problem with update Entity Framework 6
This is my method of updating: public dynamic Atualizar(TEntity obj) { dynamic data = null; using (ClassContexto ctx = new ClassContexto(ClassMaster.conexao())) { try { ctx.Entry(obj).State =…