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
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
to rav...@googlegroups.com
This is by design
The reason is that in Jason, a list can't have properties
Reply all
Reply to author
Forward
0 new messages