Yes, it should be.
On Sun, Mar 15, 2009 at 11:35 PM, mhnyborg <[email protected]> wrote:
>
> I think that all hard-coded database field names is evil. and that's
> way I love fluent NH and LambdaExtensions
>
> Can someone tell me if it's possible to remove [CreateCriteria
> ("Definition")] with some LambdaExtensions API
>
> IList<Milestone> milestones = session.CreateCriteria(typeof
> (Milestone))
> .Add<Milestone>(m => m.SiteRevisionId == ProjectId)
> .CreateCriteria("Definition")
> .CreateCriteria("BaselineMilestones")
> .Add<BaselineMilestone>(b => b.BaselineID ==
> baselineID).List<Milestone>();
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---