How to create a new field (String) from value of another existing field (NubmerLong) for all documents in the collection via C# driver? There is no problem using Mong Shell:
db.getCollection("MyCollection").updateMany(
{ },
[{ $set: { recordId: { $toString: "$id" } } }]
)
Mongo driver has UpdateDefinitions and has PipelineDefinitions. And no compatibility between them.