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 8390667
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T19:03:32+00:00 2026-06-09T19:03:32+00:00

My organization is currently using a codegen framework (.nEtTiers) which automatically maps custom stored

  • 0

My organization is currently using a codegen framework (.nEtTiers) which automatically maps custom stored procs which follow a certain convention into “get” methods in the domain model that have the same signature as a proc. So, for example, if I have a Customer table, and I have a stored proc sp_custom_Customer_GetBySalesAmount(@salesAmount), then the framework will create a GetBySalesAmount(salesAmount) in the .NET provider that is generated for Customer.

I know that EF supports stored procs for CRUD operations on entities. But does it have any kind of support for custom stored procs that are mapped to getters? My org wants to start moving in the direction of using EF, and being able to support this would make the transition a lot smoother.

  • 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-09T19:03:33+00:00Added an answer on June 9, 2026 at 7:03 pm

    EF with EDMX supports stored procedures mapping – it is called function import. Function import is added to context class (not to entity class) because modern EF (4.x or newer) takes little bit different approach where entity should not be dependent on the persistence layer – those entities are called POCOs.

    Stored procedure mapping can be little bit tricky if your procedures contains some complexities because not everything is supported in EF. For example TVP are not supported and only EF with .NET 4.5 will support multiple result sets returned from the procedure.

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

Sidebar

Related Questions

I am an senior-slash-advanced C#/.NET developer, currently using 3.5 Framework with WPF/WCF and Silverlight
I'm currently using the Facebook Developer Toolkit to publish to my organization's Facebook page.
I currently work in an organization that forces all software development to be done
Currently, our organization does not practice Continuous Integration. In order for us to get
I'm currently working on sprite sheet tool in python that exports the organization into
Our organization's software is compiled for the .NET 3.5 Framework. We have some customers
Our organization manages a stable of iOS applications for multiple clients, which means dealing
In our organization, members who achieve certain goals can earn different awards. Management wants
I'm currently in the process of developing a fairly large static library which will
I'm seeking advice regarding adobe flex which has been currently incubated by Apache. Is

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.