add new stored proc to the existing .edmx file c#

Posted on 2014-07-15
Last Modified: 2014-07-16
After I used...

Add/New Item/ on the project gives me to add ADO.NET Entity Data Model and saved it as MyDatabase.edmx,

I have new stored procedures created.

Question: How can I add the new stored procs to the existing .edmx?

BTW, when I right-click on MyDatabase.edmx, there is no update option (vs 2010).

What menu option do I need to follow?

Thank you.
Question by:Mike Eghtebas
    LVL 5

    Accepted Solution

    Open the EDMX-file (double click in the solution explorer), right click somewhere on the background, select update. Be sure to check the box next the 'Stored Procedures' in the wizard.
    LVL 33

    Author Closing Comment

    by:Mike Eghtebas
    Thank you.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
    In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now