I need to rename a MongoDB DB database programmatically. I have not seen a way to do this with the MongoDB c# driver.
I would like to do something like: this.mongoClient.renameDatabase("oldName","newName");
I figure I can roll my own but I feel like this should be possible with a current driver.