public class Entity
{
public string Id { get; set; }
pulibc IEnumerable<string> Tags { get; set; } = new string[0];
}
var entity = new Entity { Id = "transactions/248738", Name = "Whatever", Tags = new string[] { "files/178996" } };
// With session.Store(entity);
// transactions/248738
{
"Name": "Whatever",
"Tags": [
"files/178996"
]
}
//With bulkInsert.Store(entity);
// transactions/248738
{
"Id": "transactions/248738",
"Name": "Whatever",
"Tags": {
"$type": "System.String[], System.Private.CoreLib",
"$values": [
"files/178996"
]
}
}
Hibernating Rhinos Ltd
Oren Eini l CEO l Mobile: + 972-52-548-6969
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811
--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.