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

  • Home
  • SEARCH
  • 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 6023045
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T03:56:50+00:00 2026-05-23T03:56:50+00:00

I have imported a stored procedure that returns a dataset into my Entity Framework.

  • 0

I have imported a stored procedure that returns a dataset into my Entity Framework. This is .NET 3.5 Framework in VS2008.

Per Microsoft’s documentation, I have created a function import but the return types are:
None, Scalars and Entities. Obviously “None” isn’t an option for me since my procedure returns data. But Scalar and Entities aren’t options either because the data is in a set and it isn’t created based on an existing Entity prior to running the procedure.

I believe the option that best fits my scenario would be to select a Complex Datatype but that option isn’t available in VS2008. It looks as though VS2010 and/or .NET 4.0 Framework have the option available but I work in an environment where bumping up the framework for this simple piece of functionality isn’t going to be an immediate option.

Are there any other alternatives to Stored Procedure execution using the 3.5 entity framework? I am working in an MVC environment and preferrably don’t want to use data connection objects outside the scope of the existing structure as it deviates from the established standard.

What are my alternative options or is there a piece of the puzzle I’m missing here?

  • 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-05-23T03:56:51+00:00Added an answer on May 23, 2026 at 3:56 am

    You could create a dummy view in the database that matches the desired return type and then import the View into your Entity Model and use it as the return type of the stored procedure.

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

Sidebar

Related Questions

I have a stored procedure that returns a scalar value, I mapped it in
I have a stored procedure that I'm positive of has no errors but I
I have a stored procedure that search a view using full text. I'm trying
I have imported an animated GIF as a resource into a picturebox - unfortunitly
I have a table that was imported as all UPPER CASE and I would
I have a single entry output from a paradox table which is imported into
I'm using the entity framework that comes with 3.5sp1, and I'm trying to add
We have imported a wsdl from a thirdparty. This gives us a set of
I have imported the kernel32 library. So, I have the createMutex function available but
I have imported a time series with dates of the following format: test =

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.