Notsupported First operator

Posts   
 
    
Steria
User
Posts: 64
Joined: 26-Nov-2008
# Posted on: 02-Dec-2008 09:32:35   

Hi,

I'm using LLBLGen 2.6 Final Edition with Oracle 10g. When I execute my query and if there is no data present in the database, I receive a NotSupportedException and in the documentation it is writes that expected null value.

Here is the query :


var q = (from t in metadata.Table1
                         select t);
                q.First();

In the generated sql it add only: WHERE rownum <= 1

Could you help me?

Thanks in advance,

Steria
User
Posts: 64
Joined: 26-Nov-2008
# Posted on: 02-Dec-2008 09:42:55   

This problem was resolved.

Thanks