I forgot to ask last time, but...

On Fri, 2009-08-07 at 09:30 -0700, Dimitryl wrote:
...
> var t = from tb1 in db.Table1
>            select new
>            {
>                   ID = tb1.ID,
>                   Name = tb1.Name,
>                   List = GetTable2(tb1.ID).ToList()
>             };
> 
> this query get the data from table1 and calls the function to retrive
> the data from table 2 that returns the type IQueryable<IList>.

What's your GetTable2() definition do, exactly?  If I'm reading your
description right, it's:

        IQueryable<IList> GetTable2(int id)
        {
                ...
        }

Is this correct?  Or does GetTable2() have some other return type?  I'd
like to know so that I can make a proper test case...

Thanks,
 - Jon



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DbLinq" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/dblinq?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to