Generate C# entity files from my EDMX in the comma

2019-07-05 23:25发布

问题:

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