Release notes for re-motion version 1.13.89

List of Issues

Bugfixes

Details

[RM-3634] Query parsing ignoring main static source

Component/s: Data.Linq
Issue Type: Bug
Resolution: Won't Fix yet
Status: Closed


Queries like this:
var query = from i in new[] { 1, 5, 10 }
join e2 in tran.Query<linq.entity>() on i equals e2.ID
select e2;

are parsed as
var query = from e2 in tran.Query<linq.entity>()
select e2;

with join done after execution.
Main part of the query should be static source new[]{1,5,10} and not "IQueryable<linq.entity>"

Queries like this:
var query = from e2 in tran.Query<linq.entity>()
join i in new[] { 1, 5, 10 } on e2.ID equals i
select e2;

are parsed correctly.