문제

Is there any way to create edmx file programmatically without configuring manually.

My requirement is like this: I have to create a website dynamically. In that website I have to use EF files. ie. I have to create edmx file programatically and not manually. I have the Database name, connection string, server name, username, password and all with me. Is there any way to achieve this?

도움이 되었습니까?

해결책

I have found the solution. The following link helps those who want to create edmx file programmatically in VS 2012.

https://bitbucket.org/cincura_net/edmgen2/

This is a new thread. Will be helpful for those who found EdmxGen2 is not compatable with vs 2010.

Thanks, Sujith.S

다른 팁

Yes, you can have a look at edmgen2.exe for info on how to create the edmx programitically. http://archive.msdn.microsoft.com/EdmGen2

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top