Generate C# entity files from my EDMX in the command line instead of from VisualStudio

爱⌒轻易说出口 提交于 2019-12-14 04:18:55

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!