There are now conventions for DynamicUpdate, DynamicInsert, and
OptimisticLock.
WithConventions(convention =>
{
  convention.DynamicUpdate = type => true;
  convention.DynamicInsert = type => true;
  convention.OptimisticLock = (type, locking) => locking.Version();
});

I'm going to look at the bigger issue of why there's no way to specify your
own class conventions ala ITypeConvention soon.

On Wed, Feb 11, 2009 at 9:04 PM, James Gregory <[email protected]>wrote:

> There currently isn't support for class wide conventions, and we don't have
> support for dynamic-update either, so this is a bit of a problem!
> I'll look at addressing these two issues asap.
>
>
> On Wed, Feb 11, 2009 at 5:32 PM, Mark Perry <[email protected]>wrote:
>
>>
>> Hi
>>
>> Is there a way I can get conventions on my class mappings using the
>> auto mapper. I would like to turn on Dynamic-Update on all my mappings
>> but I cannot find any examples online
>> or in the conventions API?
>>
>> Thanks, Mark
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
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