Bend.BsonHelper._applySet C# (CSharp) Method

_applySet() private static method

private static _applySet ( BsonDocument doc, BsonDocument changes ) : void
doc BsonDocument
changes BsonDocument
return void
        private static void _applySet(BsonDocument doc, BsonDocument changes)
        {
            foreach (var field in changes) {
                doc.Set(field.Name, field.Value);
            }
        }