deveel / deveeldb

DeveelDB is a complete SQL database system, primarly developed for .NET/Mono frameworks

Home Page:http://db.deveel.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make Objects Self-Serializable

tsutomi opened this issue · comments

The current impementation of the serialization feature delegates the operation of reading and writing to a binary stream to IObjectSerializer object, and to an IObjectSerializerResolver the option to select the serializer for the object.

This was done to support binary serialization in PCL, that does not support natively. Anyway, the solution is showing some limitations also for productivity.

The best option is to implement a dedicated contract for allowing the objects themselves to serialize and deserialize from a common standard (like for the System.Runtime.Serialization)

Supporting dynamic serialization/deserialization will speed up the development and configuration also for external modules