<class name="Country" table="[Countries]">
<id name="ID" column="[ID]" type="System.Int32">
<generator class="identity" />
</id>
<property name="Name" column="[Name]" type="System.String" not-null="false"
length="512" />
</class>

<class name="Region" table="[Regions]">
<id name="ID" column="[ID]" type="System.Int32">
<generator class="identity" />
</id>
<property name="Name" column="[Name]" type="System.String" not-null="false"
length="256" />
<many-to-one name="Country" column="[CountryID]" class="Business.Country,
Business" cascade="none" lazy="false" not-null="false" />
</class>

when i'm save Region and has changed the Name of the Country nHibernate
perform an update on Contries table.
Why ? cascade none does not working here ?

---
A vida me ensinou a nunca desistir,
nem ganhar, nem perder mas procurar evoluir.
Podem me tirar tudo que tenho!
Só não podem me tirar as coisas boas que eu já fiz pra quem eu amo!
E eu sou feliz e canto e o universo é uma canção eu vou que vou!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" 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/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to