Base solution for your next web application
Open Closed

How delete a entity after create with RAD Tools #4977


User avatar
0
ojarana created

i make some test on rad tools but in some case have errors on rad tools, how delete entire entity created by rad tool because make many files or need delete every time error rad tools manualy?


7 Answer(s)
  • User Avatar
    0
    yekalkan created

    What are these errors? There may be some overlooked cases that causes application not to build. But even in the worst scenario, error should be fixable by small touches.

  • User Avatar
    0
    ojarana created

    <cite>yekalkan: </cite> What are these errors? There may be some overlooked cases that causes application not to build. But even in the worst scenario, error should be fixable by small touches.

    have problems sometimes in migration when entity is diferent of table (pic) and after not migrate, aditional after upgrade radtools (VS17) not work anymore the "View" task (pic) because say every time error and unknow how correct because not say any code of error. Aditional in logs say all if fine

  • User Avatar
    0
    ojarana created

    <cite>yekalkan: </cite> What are these errors? There may be some overlooked cases that causes application not to build. But even in the worst scenario, error should be fixable by small touches.

    i try to regenerate all but now never compile and not work anymore the app because not upgrade any

  • User Avatar
    0
    yekalkan created

    Try to re-build the solution. At least there should be an error message.

  • User Avatar
    0
    ojarana created

    <cite>yekalkan: </cite> Try to re-build the solution. At least there should be an error message.

    the solution compile fine, clear recompile and compile fine but the error is persistent, on all modules create on RAD tools. I try to add a video to explain in a couple hours because is unusable the rad if canĀ“t use view details.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @ojarana,

    If you want to delete an entity and all related classes generated by the RAD tool, it is better to use a source control for this. You can discard changes if you don't want to use it in that way. For the migrations, you need to revert last applied migration before discarding the code changes.

    If you accidentally commit the changes to source control, you can also revert that commit using source control.

    For the error you are having, there must be an error message in Logs.txt file. If you are using Angular version it will be under *.Web.Host\App_Data folder. If you are using jQuery version, it should be under *.Web.Mvc\App_Data folder.

    If you can share the error message or the log file, we can take a look.

  • User Avatar
    0
    yekalkan created

    <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/1048">https://github.com/aspnetzero/aspnet-ze ... ssues/1048</a>

    it may be same problem.