Hi again!!
I have a seconde question for you, i'm trying to use a datetime field in ESQL, but i could not do it!!
I don?t know how I have to implement this issue.
thanks!!
________
Wiki Vaporizer
Search found 26 matches
- Tue 20 Apr 2010 15:42
- Forum: Entity Framework support
- Topic: using datetime fileds in ESQL with EF 1.0
- Replies: 1
- Views: 1501
- Tue 20 Apr 2010 15:35
- Forum: Entity Framework support
- Topic: Inlude in ESQL with EF 1.0
- Replies: 1
- Views: 1482
Inlude in ESQL with EF 1.0
Hi,
I would like to use .Include clausule in ESQL sentence, is posible?, something like that:
SELECT VALUE MYTABLE
FROM MYMODEL.MYTABLE.Include("MYTABLE")
thanks,
________
ALCOHOL REHAB DICUSSION
I would like to use .Include clausule in ESQL sentence, is posible?, something like that:
SELECT VALUE MYTABLE
FROM MYMODEL.MYTABLE.Include("MYTABLE")
thanks,
________
ALCOHOL REHAB DICUSSION
- Thu 11 Feb 2010 15:45
- Forum: Entity Framework support
- Topic: NULL value using eSQL
- Replies: 1
- Views: 1511
NULL value using eSQL
Hi, i'm using eSQL and i have a question
1.- ?Is possible use NULL value?
Can you show me an example?
thank,
________
Vapor Genie Vaporizer
1.- ?Is possible use NULL value?
Can you show me an example?
thank,
________
Vapor Genie Vaporizer
- Mon 18 Jan 2010 10:20
- Forum: Entity Framework support
- Topic: ESQL, like, limit and skip!!
- Replies: 2
- Views: 2828
- Mon 11 Jan 2010 07:46
- Forum: Entity Framework support
- Topic: ESQL, like, limit and skip!!
- Replies: 2
- Views: 2828
ESQL, like, limit and skip!!
hi,
We have problems with ESQL queries to view. It gives error when generating a query that uses a LIKE and ORDER BY with LIMIT and SKIP. We realized that the error occurs when applying to LIKE NOT NULL fields.
SELECT VALUE VCLIENTESBUSQUEDA FROM ModeloCliente.VCLIENTESBUSQUEDA as VCLIENTESBUSQUEDA
WHERE VCLIENTESBUSQUEDA.CODCLIENTE LIKE @valor0
ORDER BY VCLIENTESBUSQUEDA.CODCLIENTE ASC SKIP @skip LIMIT @limit
@valor0= cv003%
best regards,
________
Mexico Hotels
We have problems with ESQL queries to view. It gives error when generating a query that uses a LIKE and ORDER BY with LIMIT and SKIP. We realized that the error occurs when applying to LIKE NOT NULL fields.
SELECT VALUE VCLIENTESBUSQUEDA FROM ModeloCliente.VCLIENTESBUSQUEDA as VCLIENTESBUSQUEDA
WHERE VCLIENTESBUSQUEDA.CODCLIENTE LIKE @valor0
ORDER BY VCLIENTESBUSQUEDA.CODCLIENTE ASC SKIP @skip LIMIT @limit
@valor0= cv003%
best regards,
________
Mexico Hotels
- Tue 04 Aug 2009 08:11
- Forum: Entity Framework support
- Topic: Problems with the latest version
- Replies: 2
- Views: 2544
- Thu 23 Jul 2009 11:53
- Forum: Entity Framework support
- Topic: Problems with the latest version
- Replies: 2
- Views: 2544
Problems with the latest version
Hi,
I have installed de latest version (5.25) of DotConnect for oracle, when i try to referesh my model i received this error:
Error 2054: A FunctionImport is mapped to a storage function
if i do the same action with the 5.20.33 version all works fine.
thanks,
________
XL175
I have installed de latest version (5.25) of DotConnect for oracle, when i try to referesh my model i received this error:
Error 2054: A FunctionImport is mapped to a storage function
if i do the same action with the 5.20.33 version all works fine.
thanks,
________
XL175
- Mon 13 Jul 2009 12:19
- Forum: Entity Framework support
- Topic: Problems with Transaction Scope
- Replies: 10
- Views: 5199
Hi Andrey,
When is this new version be available??
With this new build can I insert rows using linq and modify them using function imports???
thanks,
________
ZX14 VS HAYABUSA
When is this new version be available??
With this new build can I insert rows using linq and modify them using function imports???
thanks,
________
ZX14 VS HAYABUSA
- Mon 13 Jul 2009 07:35
- Forum: Entity Framework support
- Topic: Problems with Transaction Scope
- Replies: 10
- Views: 5199
Hi Andrey,
I try to call Context.Connection.EnlistTransaction() method, but EnlistTransaction needs 1 argument Transaction and TransactionScope is not valid.
My code:
using (cnnEF Context = new cnnEF())
{
Context.Connection.Open();
using (TransactionScope tran = new TransactionScope())
{
Context.Connection.EnlistTransaction();
List lst = Context.GETPRUEBA(null).ToList();
________
Buy marijuana seeds
I try to call Context.Connection.EnlistTransaction() method, but EnlistTransaction needs 1 argument Transaction and TransactionScope is not valid.
My code:
using (cnnEF Context = new cnnEF())
{
Context.Connection.Open();
using (TransactionScope tran = new TransactionScope())
{
Context.Connection.EnlistTransaction();
List lst = Context.GETPRUEBA(null).ToList();
________
Buy marijuana seeds
- Mon 13 Jul 2009 07:30
- Forum: Entity Framework support
- Topic: Problems with Transaction Scope
- Replies: 10
- Views: 5199
Hi Andrey,
When I put the Context.Connection.Open() method call inside the TransactionScope using block: ERROR
ORA-24756: la transacci?n no existe
My code:
using (cnnEF Context = new cnnEF())
{
using (TransactionScope tran = new TransactionScope())
{
Context.Connection.Open();
List lst = Context.GETPRUEBA(null).ToList();
________
No2 vaporizer
When I put the Context.Connection.Open() method call inside the TransactionScope using block: ERROR
ORA-24756: la transacci?n no existe
My code:
using (cnnEF Context = new cnnEF())
{
using (TransactionScope tran = new TransactionScope())
{
Context.Connection.Open();
List lst = Context.GETPRUEBA(null).ToList();
________
No2 vaporizer
- Mon 06 Jul 2009 09:45
- Forum: Entity Framework support
- Topic: Problems with Transaction Scope
- Replies: 10
- Views: 5199
Hi Andrey,
It doesn't work. I need to combine in 1 connection function imports with LINQ , ?it's possible with devart dotConnect for oracle?
________
Lamborghini Countach Specifications
It doesn't work. I need to combine in 1 connection function imports with LINQ , ?it's possible with devart dotConnect for oracle?
________
Lamborghini Countach Specifications
- Tue 30 Jun 2009 15:51
- Forum: Entity Framework support
- Topic: Problems with Transaction Scope
- Replies: 10
- Views: 5199
- Tue 09 Jun 2009 15:55
- Forum: Entity Framework support
- Topic: Problems with Transaction Scope
- Replies: 10
- Views: 5199
Problems with Transaction Scope
Hi,
I'm trying to use TransactionScope:
case 1: Not found
using (miContexto Context = new miContexto())
{
using (TransactionScope tran = new TransactionScope())
{
//step1 : this function returns a code
string strAux = Context.F_Import1(null,"a").ToList()[0].codigo;
//step2 : insert many rows in Table1 table
foreach(string str2 in lineas)
{
Table1 aux = new Table1();
aux.Nombre = str2;
aux.cod = strAux;
Context.AddTable1(aux);
}
Context.SaveChanges(false );
//step 3: this function uses the rows that are inserted in step 2, but it doesn't find data
string strAux2 = Context.F_Import2(null,"a").ToList()[0].codigo;
tran.Complete();
Context.AcceptAllChanges();
}
}
case 2: found ok (it hasn't transaction control)
using (miContexto Context = new miContexto())
{
string strAux = Context.F_Import1(null,"a").ToList()[0].codigo;
foreach(string str2 in lineas)
{
Table1 aux = new Table1();
aux.Nombre = str2;
aux.cod = strAux;
Context.AddTable1(aux);
}
Context.SaveChanges();
string strAux2 = Context.F_Import2(null,"a").ToList()[0].codigo;
}
}
________
COCAINE REHAB ADVICE
I'm trying to use TransactionScope:
case 1: Not found
using (miContexto Context = new miContexto())
{
using (TransactionScope tran = new TransactionScope())
{
//step1 : this function returns a code
string strAux = Context.F_Import1(null,"a").ToList()[0].codigo;
//step2 : insert many rows in Table1 table
foreach(string str2 in lineas)
{
Table1 aux = new Table1();
aux.Nombre = str2;
aux.cod = strAux;
Context.AddTable1(aux);
}
Context.SaveChanges(false );
//step 3: this function uses the rows that are inserted in step 2, but it doesn't find data
string strAux2 = Context.F_Import2(null,"a").ToList()[0].codigo;
tran.Complete();
Context.AcceptAllChanges();
}
}
case 2: found ok (it hasn't transaction control)
using (miContexto Context = new miContexto())
{
string strAux = Context.F_Import1(null,"a").ToList()[0].codigo;
foreach(string str2 in lineas)
{
Table1 aux = new Table1();
aux.Nombre = str2;
aux.cod = strAux;
Context.AddTable1(aux);
}
Context.SaveChanges();
string strAux2 = Context.F_Import2(null,"a").ToList()[0].codigo;
}
}
________
COCAINE REHAB ADVICE
- Fri 15 May 2009 07:42
- Forum: Entity Framework support
- Topic: Sending cursors to a store procedure
- Replies: 3
- Views: 2934
- Thu 14 May 2009 14:10
- Forum: Entity Framework support
- Topic: Sending cursors to a store procedure
- Replies: 3
- Views: 2934