Guys,
I've been attempting to add a convention for altering Ids, ends up it's a
little tricker than expected. There's some generic hell going on, long and
short of it is convention requires a non generic signature, other
conventions use an interface, but the identity GeneratedBy property needs
the entity type, so no can do. I've had a look at the type is only used for
one method, which is GeneratedBy.Foreign<T>; this method was added by myself
at the request of no-one, and there's a string method that does the same
thing (which was present before I added mine). So I've reluctantly removed
this method to allow convention support for identities, it's not nice that I
had to do it, but it was necessary.

So to anyone that was using that overload, I apologise but you'll need to
use the string signature.

On a related note, there's now convention support for identities through
IdConvention in the Conventions class.

James

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@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