Alterations don't override conventions.
Mapping
|
Alterations
|
Conventions
Thankfully this will be changing for 1.0, because I'm sick of explaining it
:)
For the time being change your convention so it checks if there's a value
before making any changes, that way your alteration change won't get
overwritten.
On Wed, Jul 29, 2009 at 8:14 AM, Dmitiry Nagirnyak <[email protected]> wrote:
> Anybody?
>
> 2009/7/27 Dmitiry Nagirnyak <[email protected]>
>
> I found where the problem is.
>> I use alterations. But the alteration that defines cascade="all" does NOT
>> override the convention (which sets cascade="save-update").
>>
>> So now the question is HOW should I override the convention with my
>> alteration?
>>
>> Cheers,
>> Dmitriy.
>>
>>
>>
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---