mapper.RegisterType<AutoSetHangtagTemplate>(
serialize =
fun value ->
Bson.serializeField(value)
,
deserialize =
fun bsonValue ->
let v = Bson.deserializeField bsonValue
{v with RetrieveFrom = RetrieveFrom.FromDB}
)
I cannot catch the code in function any more
Should we fix it?
See https://github.com/mbdavid/LiteDB/wiki/Object-Mapping
I cannot catch the code in
function
any more Should we fix it?