dotConnect Oracle Cross Apply

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
dcoracle600pro
Posts: 51
Joined: Mon 09 Apr 2012 09:57

dotConnect Oracle Cross Apply

Post by dcoracle600pro » Tue 11 Dec 2012 13:47

Hello,

In some machines it happens, in another don´t. We get the Cross Apply exception when using this query:

public IQueryable<GE_MENU> RetornaMenusParaUsuario(int seqUsuario, int nroEmpresa)
{
return from usuarioPerm in entidadesConsinco.GE_USUARIOPERMISSAO
where usuarioPerm.SEQUSUARIO == seqUsuario && usuarioPerm.NROEMPRESA == nroEmpresa && usuarioPerm.PERMISSAO == True
from menu in usuarioPerm.GE_ITENSAPP.GE_APLICACAO.GE_MENUAPLICACAOs
select menu.GE_MENU;
}

And using this way:

var menusUsuario = RetornaMenusParaUsuario(seqUsuario, nroEmpresa).Distinct().ToList();

The point is that we can run the query in some machines and the result is OK. But and another machine we get the exception.
What can be happening?

Thanks.

dcoracle600pro
Posts: 51
Joined: Mon 09 Apr 2012 09:57

Re: dotConnect Oracle Cross Apply

Post by dcoracle600pro » Tue 11 Dec 2012 18:13

The problem was solved after install the .NET Framework 4.5

Post Reply