c# - Net Core Entity Database 1st - Build Error -


i getting build error know why... it's because deleted old files entity except replacing them... -f

but super annoying because have comment out lines reference context... is there option or way have scaffolding disregard if there build error or not.

"build failed" on database first scaffold-dbcontext

reference ^

thanks.

edit: long story short, need comment out manually every reference of data context in code , re-scaffold database because build errors.

edit2: working before following scaffolg statement doesn't handle - in project name...(project name: posi_master-api) used replace -api _api

scaffold-dbcontext "data source=aserver;initial catalog=positiveusers;persist security info=true;user id=positiveconnector;password=apassword" microsoft.entityframeworkcore.sqlserver -outputdir databases/positiveuser -f

just restore/revert lost files version control system (git, etc)


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -