This project is read-only.

Value types? (SOLVED)

Apr 22, 2013 at 2:02 AM
I see most of the database get/store operations constraint on reference types. I assume that structs are inlined into any class records in which they appear, and so they cannot be stored outside of such a class?
Apr 29, 2013 at 8:13 AM
Hello,
yes indeed :)

To go further, it is all about storing objects. It is conceptually hard to say, if instance of struct is still the object in terms of OOP. In NDatabase it was chosen to store only class instances.

Regards,
Jacek