dotconnect

DevArt's dotConnect for Oracle vs DataDirect's ADO.NET data provider

主宰稳场 提交于 2019-11-30 21:26:16
Has anybody done a comparative analysis of dotConnect for Oracle from DevArt and the ADO.NET data provider from DataDirect . We are thinking of using the Entity Framework support available in these frameworks for a critical enterprise application. Some articles that I read suggest the following: DevArt dotConnect is much faster as compared to DataDirect DataDirect license is more expensive that the DevArt license Can anybody throw more light on the technical aspects so as to aid the decision making process? As nobody from disinterested parties haven't left any comments yet, we'll try to post

Linq to Entities and LEFT OUTER JOIN issue with MANY:1 relations

ⅰ亾dé卋堺 提交于 2019-11-30 20:12:24
Can somebody tell me, why does Linq to Entities translate many to 1 relationships to left outer join instead of inner join ? Because there's referential constraint on DB itself that ensures there's a record in the right table, so inner join should be used instead (and it would work much faster) If relation was many to 0..1 left outer join would be correct. Question Is it possible to write LINQ in a way so it will translate to inner join rather than left outer join . It would speed query execution a lot... I haven't used eSQL before, but would it be wise to use it in this case? Would it solve

DevArt's dotConnect for Oracle vs DataDirect's ADO.NET data provider

故事扮演 提交于 2019-11-30 05:40:48
问题 Has anybody done a comparative analysis of dotConnect for Oracle from DevArt and the ADO.NET data provider from DataDirect. We are thinking of using the Entity Framework support available in these frameworks for a critical enterprise application. Some articles that I read suggest the following: DevArt dotConnect is much faster as compared to DataDirect DataDirect license is more expensive that the DevArt license Can anybody throw more light on the technical aspects so as to aid the decision

Linq to Entities and LEFT OUTER JOIN issue with MANY:1 relations

喜欢而已 提交于 2019-11-30 04:44:12
问题 Can somebody tell me, why does Linq to Entities translate many to 1 relationships to left outer join instead of inner join ? Because there's referential constraint on DB itself that ensures there's a record in the right table, so inner join should be used instead (and it would work much faster) If relation was many to 0..1 left outer join would be correct. Question Is it possible to write LINQ in a way so it will translate to inner join rather than left outer join . It would speed query

ORA-00936: missing expression when reading from database with dotConnect driver and oracle database

≯℡__Kan透↙ 提交于 2019-11-29 10:29:43
I am using dotConnect driver for connecting to oracle database but i always get this error when i want to use parameters: ORA-00936: missing expression CODE: using (var cmd = conn.CreateCommand()) { conn.Open(); cmd.CommandText = "SELECT stevilka_dokumenta from zmpt_dokumenti_po where status = @status"; ; cmd.Parameters.Add("@status", OracleDbType.VarChar, "1"); using (var reader = cmd.ExecuteReader()) { while (reader.Read()) { string stevilkaDokumenta = reader.GetString("stevilka_dokumenta"); } } Error is here: using (var reader = cmd.ExecuteReader()) why i get ORA-00936: missing expression?

ORA-00936: missing expression when reading from database with dotConnect driver and oracle database

安稳与你 提交于 2019-11-28 03:35:52
问题 I am using dotConnect driver for connecting to oracle database but i always get this error when i want to use parameters: ORA-00936: missing expression CODE: using (var cmd = conn.CreateCommand()) { conn.Open(); cmd.CommandText = "SELECT stevilka_dokumenta from zmpt_dokumenti_po where status = @status"; ; cmd.Parameters.Add("@status", OracleDbType.VarChar, "1"); using (var reader = cmd.ExecuteReader()) { while (reader.Read()) { string stevilkaDokumenta = reader.GetString("stevilka_dokumenta")