orientechnologies / OrientDB.Net

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

New driver does not support ODocument or Dictionary #22

Open holocentric-bmsnext opened 6 years ago

holocentric-bmsnext commented 6 years ago

The existing driver allows us top fetch vertices from the graph as ODocument, and this allows us to work without the entity classes being defined in the source code, as the schema of the database is dynamically built.

The new driver does not support ODocument.

In OrientDBEntityExtensions the ToDictionaryOrientDBEntity method doesn't handle DictionaryOrientDBEntity as an parameter properly.

This led to exceptions further in our test, we had to overcome the problem by making a change in the driver to explicitly check for an object of type DictionaryOrientDBEntity and handle that accordingly.