Either Session.Merge or Session.SaveOrUpdate.  The problem I have is
that I can't think of a way to tell NHIbernate that the property from
the DTO (a null value) is not really an update to NULL of the column.

On Jan 18, 12:11 am, Fabio Maulo <[email protected]> wrote:
> re-attached using what ?
>
> On Mon, Jan 17, 2011 at 2:56 PM, Kevin Fairclough <
>
>
>
>
>
>
>
>
>
> [email protected]> wrote:
> > Hi,
>
> > Does anyone know how to I can instruct NHibernate to stop updating a
> > lazy property to null when the object is re-attached to a new session
> > where that property has not changed?
>
> > Thanks
>
> > --
> > 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]<nhusers%[email protected] 
> > >
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/nhusers?hl=en.
>
> --
> Fabio Maulo

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