Objects extending from ICollection (or IEnumerable) can't be saved
30 views
Skip to first unread message
Rémy van Duijkeren
unread,
Jun 9, 2012, 7:16:23 AM6/9/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rav...@googlegroups.com
When I create a class that extending from ICollection (or IEnumerable), instances can't be saved. Its giving the error that it isn't a object that RavenDB can store.
What is the reason for this or is it a bug?
Oren Eini (Ayende Rahien)
unread,
Jun 9, 2012, 7:56:44 AM6/9/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rav...@googlegroups.com
This is by design
The reason is that in Jason, a list can't have properties