An Entity Framework 6 update is available here. |
Unfortunately, unlike the package manager, the command line migration.exe doesn't support the -script option. Knowing it was possible from within Visual Studio I set off on a decompilation & exploration journey through power shell scripts and entity framework dll's.
Once everything was clear I built a console application directly talking to the scripting functionality in the EntityFramework.dll You can download the source here. Do remember, all the code is provided as-is and without any warranty.
Special thanks to NDesk for the Options class, it works like a charm!
Geen opmerkingen:
Een reactie posten