Been looking and I have yet to come across a way to make this type safe.
var setDef = Builders<TOrganization>.Update.Set("members.$.someField", "the value");
Any idea if it is possible?
Been looking and I have yet to come across a way to make this type safe.
var setDef = Builders<TOrganization>.Update.Set("members.$.someField", "the value");
Any idea if it is possible?