SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have created ADO.NET entity framework with Sql Server and using this Model in .NET assembly connector now so far in Methods i have been View and Tables to get data from but now i would like to use store procedure to do CRUD Operation please advise me if anyone out there has done it or have any direction.

Thanks ROnak

share|improve this question

I'm thinking why would you need to build your own Stored Procedure when the EF model should give you everything already. What I would see is however define required methods in your BDC Model besides Finder methods the CRUD and map them to actual code to perform Entity insertion.

See video here for EF Crud via Stored Procedures or example here

As a personal question: Unless you only have 1 entity, how would you expose all other EF entities?

share|improve this answer
Thanks Marius for answer i am not building store procedure i want to use SPs export into model but now i have clear picture as i need to function import in order to use SPs in EF.will give try and share result here. – Ronak Jul 31 '12 at 13:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.