Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7772807
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T16:57:50+00:00 2026-06-01T16:57:50+00:00

I am using .NET 3.5 SP1, VS 2008 with the entity framework. I originally

  • 0

I am using .NET 3.5 SP1, VS 2008 with the entity framework. I originally added a stored procedure to my model which took 2 parameters. Later, I changed the sproc to just take 1 parameter. I ran the Update Model From Database menu option and confirmed that my sproc was listed in the Refresh tab. Finished up the wizard, cleaned and rebuilt the solution and the model never changed the signature of the sproc.

Why isnt it updating? Is the Update model from database feature broken? Am I missing something? Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T16:57:52+00:00Added an answer on June 1, 2026 at 4:57 pm

    I’ve seen two problems with updating a Stored Procedure after adding it to the entity framework:

    • The Function Import created to call the SPROC wasn’t updated (incorrect, out-of-date parameters)
    • The Complex Type created for the SPROC’s result set wasn’t updated (incorrect, out-of-date fields)

    Updating EDMX model (function import)

    1. Open the .edmx file (in the GUI designer).
    2. Right-click in some open space and select “Update Model from Database”.
    3. Click Finish (when able) on the pop-up window. Your SPROC’s signature should be updated (along with any Function Imports).

    Updating stored procedure complex type

    1. open the “Model Browser” window while you have the .edmx open.

    2. Expand the ContentModel, EntityContainer: …, and then Function Imports nodes. Look for the function import for your stored procedure and double click it. The same window you used to create it will open, but now populated with its data.

    3. Click the Get Column Information button (look at the grid below the button to see what will be changed).

    4. Click the Update button next to the “Complex” radio button choice.

    5. Click OK, and the Complex Type for your result set should be updated.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Visual Studio 2008 SP1 with .NET Framework sp1. I am not
Now that I have built a database. Visual Studio 2008 SP1’s ADO.NET Entity Framework
I am using .net 3.5 framework sp1 and VS 2008 sp1. I have created
I'm using Visual Studio 2008 SP1 in VB.NET, when I type ''' above a
I'm developing an ASP.NET application with C# and Visual Studio 2008 SP1. I'm using
I am building a WPF Application using C# in VS 2008/.NET 3.5 SP1. I
Using VS 2008 & .NET 3.5 SP1: I am using WCF to allow clients
I'm using visual studio 2008 SP1, I'm working with a web project in VB.NET.
I'm using Visual Studio 2008 SP1 on .NET 3.5 SP1 on Vista Any time
I have asp.net 3.5 sp1 installed, using vs.net 2008. Is asp.net mvc still a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.