I want to run commands like "update-database" (normally done in Package Manager Console) using c# code, how is it possible? Note: I'm using .net 5, and the solution to this problem may be different from older .net versions.
I also posted here: https://stackoverflow.com/questions/67673765/how-run-package-manager-console-commands-programmatically-in-net-5