Entity Framework 5 Nuget Console commands

command-line ef-migrations entity-framework nuget

Question

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.

1
20
9/4/2012 10:42:02 AM

Accepted Answer

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.

43
9/4/2012 12:22:36 PM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow