Hi - thanks for the answers, but I am not sure that you understood
me.   :-)

When I look into the nhibernate-mapping.xsd the "cascade" attribute
has its type set to string.
Comparing nhibernate-mapping.xsd from NHibernate 2.0 with the same
mapping file for NHibernate 1.2 I can see that the difference is that
the old mapping file has the "cascade" attribute mapped to type
"cascadeStyle", which is an enumeration of the allowed values.

With the cascadeStyle being removed from nhibernate-mapping.xsd in NH
2.0, Visual Studio cannot offer any intellisense. Instead I have to
write the allowed values manually.

Cheers,
Thomas





On 6 Feb., 13:38, Gustavo Ringel <[email protected]> wrote:
> all and all-delete-orphan are not current? I'm almost sure i tried all with
> the trunk and it's working ok.
>
> Gustavo.
>
>
>
> On Fri, Feb 6, 2009 at 2:29 PM, Fabio Maulo <[email protected]> wrote:
> > 2009/2/6 Thomas Koch <[email protected]>
>
> >> Does anyone know, why this change was made?
>
> > cascade="save-update, refresh, delete-orphan"
>
> > --
> > Fabio Maulo- Skjul tekst i anførselstegn -
>
> - Vis tekst i anførselstegn -
--~--~---------~--~----~------------~-------~--~----~
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