Hi everyone,
Is it possible to do scaffolding after install our program and run it? Is using powershell right way to go to do this? Or what else can I do?
I need any advice of you.
Thank you.
Hi,
I need to do scaffolding in code. To do this I wrote this method;
public string RunScript(string scriptText)
{
string dir = @"C:\Users\demetsen\source\repos\ScaffoldingInCode\ScaffoldingInCode";
Directory.SetCurrentDirectory(dir);
Runspace...
Hi everyone,
I am running PowerShell in C# code and actually it runs properly. But, when I try to do scaffolding it returns this error:
The term 'Scaffold-DbContext' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a...
Hi,
I need to run powershell command in C# code for a scaffolding. This is a .NET Entity Framework Core Console project. I will take a Database string from a user and use DB First Method to link the database. Is this possible to do this?
This is my code:
This is the output that I get...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.