Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

drop column with code first asp.net core

1: Remove properties from the model.
2: Run 'Enable-Migrations' in package manage console.
3: Next Run 'Add-Migration "MigrationsName"'. if any case it is showing 'The project  tesproject failed to build then build project again.
4: Now run 'Update-Database'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #drop #column #code #core
ADD COMMENT
Topic
Name
3+4 =