Is there a way to execute a script directly on mongodb shell via C# driver?
I can see Eval is already deprecated and removed on version 4.2.
Is there any other way to do it?

Our process.
.js file is save in a storage container.
code will get the .js file and run the script directly in mongodb shell.
We are saving .js file so we can update it anytime without any code change