问题
I have an .edmx file that generates C# entity files when I open it in VisualStudio and hit the "Save" operation.
How to do this from the command line? I would like to set up a CI environment that can do this before trying to compile...
回答1:
You can use the EdmGen2 command line Tool:
https://github.com/cincuranet/EdmGen2
来源:https://stackoverflow.com/questions/34351422/generate-c-sharp-entity-files-from-my-edmx-in-the-command-line-instead-of-from-v