During class generation with Power tool we already selected Add Migration and Update Database but it's not working automatically. We have to manually do that every time
We are upgrading our old solution to new 12.1 version. We have generated many classess earlier and have json file in RAD folder. Can we regerate the code from existing json file using command promt like Linux mac. We are usung Windows.
3 Answer(s)
-
0
Hi @faisalalam
- We haven't faced this problem before. Do you have ef core tools installed globally ? See https://learn.microsoft.com/en-us/ef/core/cli/dotnet
- Yes, you can regenerate all entities using latest version of Power Tools. But, please note that, if you have made any modification on the generated code, it will be overwritten.
For the problem 1, if you have EF Core Tools installed, could you share the Power Tools console output's screenshot ?
Thanks,
-
0
Is there any guide line for second question or step by step how to generate code from jsone file
-
0
Hi,
You just need to run
dotnet AspNetZeroRadTool.dll YourEntity.Json
command in theaspnet-core\AspNetZeroRadTool
folder.