mbdavid / LiteDB-vNext

Other
53 stars 6 forks source link

A Idea for Litedb #4

Open sgf opened 2 years ago

sgf commented 2 years ago

recently,im use litedb with the 3rd library(FlUrl). im use it silmulate request access website. thats a CookicJar class with a Dictionary<string,FlurlCookie> Members. but FlurlCookie has no constructor,so litedb throw exception(when DeSerialization).

now i have idea,let litedb support class without public default constructor. when in Serializaton/DeSerialization,litedb store/read all fields and auto-properties(with empty get/set). If this goal can be achieved, it will greatly increase the usage scenarios and increase the convenience of use.

we clould use some api like this:

GetUninitializedObject
FieldInfo.SetValue
sgf commented 1 year ago

Column Store support,We can refer from duckdb