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.
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: