Sujith S Nair Sujith S Nair - 1 year ago 110
ASP.NET (C#) Question

Creating .edmx file programmatically

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?

Answer Source

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

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

Thanks, Sujith.S

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download