So I am making a DB with EF 5 Code first, I have checked some guides and found some "important"/useful commands like: "Update-Database -Force -Verbose". However I know there must be more commands like these, something like: "Purge-Database", but no success in finding them. So my question is, where can I find all the availible commands and flags(for example: -Force, -Verbose etc) for EF 5.
I tried google but no luck, since query "EF 5 Console" etc has console and it gives result about console applications, which I don t want ofc.
Just use:
get-help EntityFramework
to get list of supported commands and:
get-help Update-Database
to get help for a queried command. Help for each command can give you information about extended help by for example using:
get-help Update-Database -detailed
You will probably be disappointed because there are only four commands provided by EF.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.