For anyone else who stumbles across the same question/problem, the
unit tests for ReferencesAny has proven invaluable to me:

http://fluent-nhibernate.googlecode.com/svn/trunk/src/FluentNHibernate.Testing/DomainModel/Mapping/AnyPartTester.cs

On Aug 3, 1:04 pm, DJW <[email protected]> wrote:
> Wow, I can't believe I passed over that, thanks for the pointer to
> getting me back on track!
>
> On Aug 3, 11:42 am, James Gregory <[email protected]> wrote:
>
> > Checkout ReferencesAny
>
> > On Mon, Aug 3, 2009 at 5:45 PM, DJW <[email protected]> wrote:
>
> > > I have a DB table that looks somewhat like this:
>
> > > Table Actual:
> > >    Id - Primary Key
> > >    Resource Hours - Double
> > >    EntityId - integer
> > >    EntityType - Type<IEntityAssociate>.Full
> > >    //Mutliple one-to-many references
>
> > > Currently there is an XML mapping like so for that last part
>
> > > <any name="Entity" id-type="Int64">
> > >   // Multiple meta-value mappings
> > >  <column name="EntityId" />
> > >  <column name="EntityType" />
> > > </any>
>
> > > Is it possible to re-implement this with Fluent?  So far I've not seen
> > > any documentation or code in Fluent that could accomplish the
> > > equivalent.
>
> > > Thanks,
> > >   David
--~--~---------~--~----~------------~-------~--~----~
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