tags:

views:

29

answers:

0

Hi,

I have the following code.

    var query =
           (
             from i in _service.GetTimesheetWeeklys()
             from s in _service.GetStatuses()
             where i.ProjectID == _projectid &&
                   s.ID == i.Status
             select new
             {
                 InvoiceID = i.ID,
                 DocumentTotal = i.WeekTotal.ToString(),
                 Created = i.Created,
                 WeekEnding = i.WeekEnding,
                 Status = s.staStatus
             }
           ).Skip(_pageIndex * _pageSize).Take(_pageSize);

I am getting a "No suported translation exception".

I am not that experienced with Linq2Sql and got that lin2sql code from a previous post.

Any ideas why this would be??

I am guessing it is the join syntax.

Malcolm