There's no merge support, unfortunately. It's all fluent, or all manual.

On Mon, Jul 6, 2009 at 7:13 PM, Hitt <[email protected]> wrote:

>
> Well, I was thinking of adding it myself but it looks like some major
> API additions need to be done and that should probably be up to the
> main contributers (Mr. Gregory comes to mind)
>
> So I have this question.  The docs don't make this exactly clear, but
> can I define the <filter-def> and <filter> in a manual HBM file, and
> still have FNH "merge" these with an automapping for the same class?
> (since I'd have to have to do everything manually if all I need that's
> different is the filter support).
>
> On Jun 17, 7:08 am, Dru Sellers <[email protected]> wrote:
> > what would I have to do to help.ie. what kinds of pieces should I look
> at
> > adding?
> >
> > possible api
> >
> > Fluently.Configure()
> >     .Filters(f=>
> >     {
> >         f.Add<int>("custId");
> >         f.Add<DateTime>("asOf");
> >     });
> >
> > public class Employee : ClassMap<Employee>
> > {
> >      public Employee()
> >      {
> >          Map(x=>x.EffectiveStartDate, "eff_start_dt");
> >          Map(x=>x.EffectiveEndDate, "eff_end_dt");
> >          Filter("effectiveDate").Condition(":asOf BETEWEEN eff_start_dt
> AND
> > eff_end_dt")
> >      }
> >
> > }
> >
> > -d
> >
> > On Wed, Jun 17, 2009 at 3:09 AM, James Gregory <[email protected]
> >wrote:
> >
> >
> >
> > > It's still planned :)
> >
> > > On Wed, Jun 17, 2009 at 3:03 AM, Dru Sellers <[email protected]>
> wrote:
> >
> > >> any updates on plans to support this?
> > >> -d
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" 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/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to