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 [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.
