I tracked mine down to a mis-behaving custom IUserType/value object that
wasn't returning Equals() correctly :)

James

2009/4/6 Craig van Nieuwkerk <[email protected]>

>
> One thing I found, and somebody else can probably tell me if what I am
> doing is correct, but make sure types like Int are nullable in your
> entity class if they are nullable in the database. Otherwise null
> values in the database will become 0 when loaded making the entity
> dirty without you expecting it.
>
> Craig
>
> On Mon, Apr 6, 2009 at 10:17 PM, James Crowley <[email protected]>
> wrote:
> > Can anyone suggest what I might be doing wrong here? I'm seeing SQL
> updates
> > to an entity (and its joined-subclass entities, as its part of a
> hirerachy),
> > when the only thing that's been changed is a child collection
> >
>
> >
>


-- 
James Crowley
Managing Director
Developer Fusion - Connecting developers worldwide

Developer Fusion Ltd | 58 Sandringham Close | Enfield, EN1 3JH
mob: 07986 624128 web: http://www.developerfusion.com/

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