objectbox-c
objectbox-c copied to clipboard
C# API/binding for ObjectBox
Is possible to make it C# compatible to Xamarin/Unity 3D?
I also want to know this.
It should be possible; e.g. this might be a starting point.
For making this usable in C#, you probably also want to look into extending ObjectBox Generator.
C# bindings would be great for hosting on dotnet (core)
For making this usable in C#, you probably also want to look into extending ObjectBox Generator.
Hmm, I'm not really sure the I understand correctly what is required to make it happen. Does the ObjectBox Generator need to be extended?
It should be possible; e.g. this might be a starting point.
Or is there an c++ interface that needs to be implemented?
Thanks!
To clarify for people interested in this, let me try to give some initial guidance what needs to be done
- A new C# runtime library that builds upon the ObjectBox C APIs to offer the basic functionality of ObjectBox, e.g. opening a store, putting and getting "bytes" (containing FlatBuffer objects) into/from the database
- The generator needs extended to emit C# code for entity types. Also these types need generated code to tie them to the C# API, e.g. do the conversion C# object <-> FlatBuffers.
Having a look at an existing API/binding like ObjectBox Go would certainly help.