orientechnologies / OrientDB.Net

OrientDB .Net Core core modules solution.
4 stars 7 forks source link

Handle OrientDBEntities which implement IDictionary #17

Open weizensnake opened 6 years ago

weizensnake commented 6 years ago

We have a DictionaryOrientDBEntity but that one doesn't really behave like a document which I assume it was supposed to. It will correctly "hydrate" but when serialized it will put all its key/value entries in a subobject called "Fields". Rather than treating the "document" case by an entity which has a dictionary I think we should treat it by entities which are dictionaries.