Entity Framework code first supports stored procedures

Source: Internet
Author: User

Stored Procedure is not just a way to plug a complicated and absurd business logic into the database; it also avoids inserting a complicated and absurd storage logic into the application.ProgramAn application layer. It enables applications to be seen as ideal data performance without disclosing the magic of Database Administrators (DBAs. Various temporary tables, nonstandard Report Tables, views, and table functions are hidden behind simple stored procedure calls, forming a public application programming interface (API) for the database ). Note that everything from minor performance adjustments to comprehensive Refactoring can be done without the need to redeploy many applications that depend on the database.

If you are using the code first technology of Entity Framework, you must wait until Entity Framework 6 to get some form of stored procedure support. However, a guy in codeproject has implemented the code first technology to support the stored procedure. For details, seeArticle: Http://www.codeproject.com/articles/179481/code-first-stored-procedures.

 

EF Power Tools Beta 3 available

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.