Jasinski Technical Wiki

Navigation

Home Page
Index
All Pages

Quick Search
»
Advanced Search »

Contributor Links

Create a new Page
Administration
File Management
Login/Logout
Your Profile

Other Wiki Sections

Software

PoweredBy

Page History: Stored Procedures with Entity Framework

Compare Page Revisions



« Older Revision - Back to Page History - Current Revision


Page Revision: Thu, Dec 30, 2010, 11:26 AM


Overview

This article walks through adding a stored procedure to an Entity Model.

Details

1. Open your Entity Model and right click on the design surface. From the context menu choose Model Browser.

Entity Model Context Menu

Entity Model Context Menu


2. In the Model Browser, navigate to one of the following two places

  • MyEntities.edmx > MyModel > EntityContainer: MyEntities > Function Imports > right click > Add Function Import
  • MyEntities.edmx > MyModel.Store > Stored Procedure > GetMenuItems stored procedure > right click > Add Function Import

Model Browser

Model Browser




ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2024, Patrick Jasinski.