Hi,
I wanted to rewrite query in the LINQ, but I was given a
NotImplementedException. Here is the link for writing the query in
LINQ2SQL with left outer join 
http://smehrozalam.wordpress.com/2009/06/10/c-left-outer-joins-with-linq/.
Your query might look like
  var query = from pp in this.Session.Query<PatientProfile>()
                        join p in this.Session.Query<Patient >()
                            on p.Patient equals p into g
                        where pp.Name.FamilyName.StartsWith("firefly")
                        from st in g.DefaultIfEmpty()
                        select new { ... };



On 6 Sty, 04:03, Borges <[email protected]> wrote:
> Here is my HQL query:
>
> select p, pp, pp.Mrn, pp.Name from PatientProfile pp left join
> pp.Patient p where pp.Name.FamilyName like firefly%
>
> Thanks,
> JL Borges

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" 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/nhusers?hl=en.

Reply via email to