Base solution for your next web application
Open Closed

Question on PowerTools and default values #11479


User avatar
0
murphymj5209 created

In using PowerTools is there a way to have a default value for a field in a table, when generated?

Also, please give me the command to generate the ANZ / PT entities; in a previous post I tried what was documented and I received errors using my 11.1 angular release of ANZ. It is not 'dotnet AspNetZeroRadTool.dll whateverEntity.json'. I tried in many directories, so include the dir I should be in the solution for this to work.

Thanks.


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @murphymj5209

    In using PowerTools is there a way to have a default value for a field in a table, when generated?

    Unfortunately no.

    Also, please give me the command to generate the ANZ / PT entities; in a previous post I tried what was documented and I received errors using my 11.1 angular release of ANZ. It is not 'dotnet AspNetZeroRadTool.dll whateverEntity.json'. I tried in many directories, so include the dir I should be in the solution for this to work.

    Could you explain what do you mean buy "ANZ / PT entities" ? If you want to generate entities using the command line, you need to run dotnet AspNetZeroRadTool.dll whateverEntity.json command in the aspnet-core\AspNetZeroRadTool folder.

  • User Avatar
    0
    murphymj5209 created

    thanks for the response; I have been on vacation and will try tonight. Maybe when I tried it I was not in the correct folder.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Thanks, please let me know if you face any issues.