Comments
1 comment
-
Hi @...,
Thanks for your post!
Are you trying the steps here? https://documentation.red-gate.com/display/sca4/Work+with+Entity+Framework+CodeFirst+migrations
I'm afraid I'm not immediately sure how to troubleshoot this as it appears to be an issue with Entity Framework, but there are some suggestions for the error here: https://stackoverflow.com/questions/39644544/can-i-generate-script-of-a-migration-with-ef-code-first-and-net-core
Can you kindly take a look and see if any of these help?
Add comment
Please sign in to leave a comment.
Hi,
I have .Net Core project and i am trying to execute this command in Package manager console
"Update-Database -Script -Source $InitialDatabase"
But i get the below error
Update-Database : A parameter cannot be found that matches parameter name 'Script'.
At line:1 char:17
+ Update-Database -Script -SourceMigration: $InitialDatabase -TargetMig ...
+ ~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Update-Database], ParameterBindingException