I have a DbDoc with the following structure:
{
͏͏ property1: value1,
property2: value2.
array3:
[
{
property11: value11,
property12: value12
},
{
property11: value11,
propertu12: value12
}
]
}
When I add this DbDoc using Collection.Add(DbDoc) method, it works.
But when I try to update the database document using Collection.ReplaceOne(id,DbDoc) method, I get the following exception:
System.NotSupportedException
HResult=0x80131515
Mensaje = Value of type System.Collections.Generic.Dictionary`2[System.String,System.Object][] is not currently supported.
Can anybody tell me what am I doing wrong?
{
͏͏ property1: value1,
property2: value2.
array3:
[
{
property11: value11,
property12: value12
},
{
property11: value11,
propertu12: value12
}
]
}
When I add this DbDoc using Collection.Add(DbDoc) method, it works.
But when I try to update the database document using Collection.ReplaceOne(id,DbDoc) method, I get the following exception:
System.NotSupportedException
HResult=0x80131515
Mensaje = Value of type System.Collections.Generic.Dictionary`2[System.String,System.Object][] is not currently supported.
Can anybody tell me what am I doing wrong?