How to call a stored JavaScript in MongoDb from C#
问题 I'm evaluating the porting of SQL Server database to MongoDb. The problem is moving stored procedures, I read about MongoDb stored JavaScript and I would like make some test in in .Net. I've installed MongoDb driver 2.4.0 and created this function on MongoDb named test_function : function (x) { return x; } This is the code I use to try to invoke that function: MongoClient oMongoClient = new MongoClient(Properties.Settings.Default.MongoCN); IMongoDatabase oMongoDatabase = oMongoClient