Thanks, Kamil. On Jan 6, 4:07 am, "kamil.kliczbor" <[email protected]> wrote: > 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 > joinhttp://smehrozalam.wordpress.com/2009/06/10/c-left-outer-joins-with-l.... > 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.
