由於EF版本和asp.net5版本不斷更新導致命令出現沖突。最新命令如下:
C:\ScrumBasic\ScrumBasic>dnx ef
_/\__
---==/ \\
___ ___ |. \|\
| __|| __| | ) \\\
| _| | _| \_/ | //|\\
|___||_| / \\\/\\
Entity Framework Commands 7.0.0-rc1-16348
Usage: dnx ef [options] [command]
Options:
--version Show version information
-?|-h|--help Show help information
Commands:
database Commands to manage your database
dbcontext Commands to manage your DbContext types
migrations Commands to manage your migrations
dnx ef migrations add 【entityname】
dnx ef database update