Posts by Victor Oliveira • 79 points
5 posts
-
0
votes1
answer415
viewsQ: Couldn’t read Row 0, col 0 from Cursorwindow. Make sure the Cursor is initialized correctly before accessing data from it
I’m doing the following query on android using Ormlite: List<Mensagem> msgs = SqliteOrm.getMensagemDao(this).queryForAll(); but I’m getting the error below: Couldn't read row 0, col 0 from…
-
2
votes4
answers1392
viewsA: Return True or False in jQuery’s Success
You need to put the attribute [HttpPost] on top of your method. [HttpPost] public JsonResult CadastroUsuario(Usuario _usuario ) { if (ModelState.IsValid) { return Json(new{ret = true },…
-
0
votes1
answer285
viewsA: How to use an Oracle database and Sql Server simultaneously with Entity Framework 6 in a single application?
Delete the tag: <provider invariantName="Oracle.ManagedDataAccess.Client" type="Oracle.ManagedDataAccess.EntityFramework.EFOracleProviderServices, Oracle.ManagedDataAccess.EntityFramework,…
-
3
votes1
answer95
viewsA: Query using Entityframework why the performance variation?
The problem was solved by adding on top of the property the attribute: [Column("PLACA", TypeName = "varchar2")] thanks to all who cooperated.
-
2
votes1
answer95
viewsQ: Query using Entityframework why the performance variation?
I have the following querys using Linq to Object: _Context.GerenciaTransacao.Where(x => x.Placa == "LUN1320").ToList(); in this query, the results return in 100ms. and string placa = "LUN1320";…