Yeah my bad, this one ended up in the black hole that is my starred items
in gmail. I can set aside some time to look at this over the next few days.

On Tue, Jan 19, 2010 at 7:49 AM, Hudson Akridge <hudson.akri...@gmail.com>wrote:

> I'm not an automapping guru sadly :( So again, there might be some
> workarounds that I'm unaware of (very possible). Hoping for Paul or James to
> chime in. They know much more about automapping than me.
>
> On Mon, Jan 18, 2010 at 2:29 PM, Corey Coogan <coreycoo...@yahoo.com>wrote:
>
>> Thanks Hudson,
>>     I saw this thread where Chris C. wrote an implementation in
>> November 09, but I don't see it in the trunk.
>>
>>
>> http://groups.google.com/group/fluent-nhibernate/browse_thread/thread/8c2a254c6b7bd932?fwc=1
>>
>> I don't know where this ever ended up.  Is there any other work around
>> for this?  I really don't want to create mappings for all my tables by
>> hand just to specify the PKs.
>>
>> On Jan 18, 2:03 pm, Hudson Akridge <hudson.akri...@gmail.com> wrote:
>> > I could be wrong, but I don't believe automapping supports composite
>> Id's.
>> > At least I've never seen an example with that working. Id is the default
>> > choice when automapper fires, which is probably why there's not an
>> > automapping convention for compositeId.
>> >
>> > Someone else might come along and correct me though.
>> >
>> >
>> >
>> > On Mon, Jan 18, 2010 at 1:23 PM, Corey Coogan <coreycoo...@yahoo.com>
>> wrote:
>> > > I am trying to figure out a solution to using a convention for
>> > > defining my composite key with AutoMapping.  I've read some stuff but
>> > > haven't found anything concrete.  Almost all of my entities have a
>> > > composite key that consists of a string and a date.
>> >
>> > > We have a code generator that is converting our Oracle DB tables into
>> > > entities.  I'm using custom attributes to decorate the entity with the
>> > > following info:
>> >
>> > > - TableName - tells the class convention what table it maps to
>> > > - Primary Keys - should tell some convention what the primary key
>> > > columns are
>> > > - Column Name - tells the Property convention what column the property
>> > > maps to
>> >
>> > > Since the entities are generated straight from the DB, I was hoping to
>> > > rely on Automapping and conventions to avoid any manual mapping.  I
>> > > see the IdConvention, but I'm not sure if that will work for
>> Composite-
>> > > Id.  The only code I see is something that was written to a fork but
>> > > apparently never committed.
>> >
>> > > Any ideas how to do this?
>> >
>> > > --
>> > > You received this message because you are subscribed to the Google
>> Groups
>> > > "Fluent NHibernate" group.
>> > > To post to this group, send email to
>> fluent-nhibern...@googlegroups.com.
>> > > To unsubscribe from this group, send email to
>> > > fluent-nhibernate+unsubscr...@googlegroups.com<fluent-nhibernate%2bunsubscr...@googlegroups.com>
>> <fluent-nhibernate%2bunsubscr...@googlegroups.com<fluent-nhibernate%252bunsubscr...@googlegroups.com>
>> >
>> > > .
>> > > For more options, visit this group at
>> > >http://groups.google.com/group/fluent-nhibernate?hl=en.
>> >
>> > --
>> > - Hudsonhttp://www.bestguesstheory.comhttp://twitter.com/HudsonAkridge
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Fluent NHibernate" group.
>> To post to this group, send email to fluent-nhibern...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> fluent-nhibernate+unsubscr...@googlegroups.com<fluent-nhibernate%2bunsubscr...@googlegroups.com>
>> .
>>
>> For more options, visit this group at
>> http://groups.google.com/group/fluent-nhibernate?hl=en.
>>
>>
>>
>>
>
>
> --
> - Hudson
> http://www.bestguesstheory.com
> http://twitter.com/HudsonAkridge
>
> --
> You received this message because you are subscribed to the Google Groups
> "Fluent NHibernate" group.
> To post to this group, send email to fluent-nhibern...@googlegroups.com.
> To unsubscribe from this group, send email to
> fluent-nhibernate+unsubscr...@googlegroups.com<fluent-nhibernate%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/fluent-nhibernate?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibern...@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.

Reply via email to