reach4thelasers
unread,Sep 20, 2011, 1:11:31 AM9/20/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to NoRM mongodb
I want to update a single member of a sub-document I'm runing the
following Update:
session.Database.GetCollection<User>().Update(new { Username =
username }, h => h.SetValue(y => y.FacebookData.FacebookPermissions,
facebookPermissions), false, true);
It throws an Exception:
"Expression y=> y.FacebookData.FacebookPermissions Must resolve to
top level member"
Is this not possible or am I doing something wrong? How do I update a
single value of a sub-document?