Object Mapping in Couchbase.Lite.Net

I’m using CB.Lite.Net V2 APIs in UWP and I noticed that writing and reading docs as dictionaries is sometimes boring. Is there anyway to save our objects (Like as we do in ORMs like Entity Framework) and get objects instead of <string,object> dictionaries ?

Not at the moment. That’s a planned feature called data modeling but it is in its early stages of conception. Saving a class directly is easy enough but there needs to be a plan for when that class definition changes and the data is still there, and it needs to make sense in C#, Java, and Objective-C.

1 Like