(Perhaps a newbie question)

I have a class User with a property UserSettings which is a complex type. 
The UserSettings property is mapped using a custom IUserType that maps 
to/from a json-serialized nvarchar column.

My current issue is this: when I have a User and change something within 
the UserSettings (such as user.UserSettings.DemoMode = true) a call to save 
the User instance does not cause an actual db-level update, which I'm 
guessing is caused by no actual changes being made on the User object. 

Are there any way I can (directly or indirectly) get changes in the 
UserSettings to cause the User instance to 'detect' the change and 
ultimately save/update the instance?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to