ASP.Net MVC: Import Function and Stored Procedure in Entity Framework

on Jul 04, 2021 10:49 PM


I have installed Entity Framework. When i add Ado.Net Entity Model using Code First From DataBase it shows only Tables & Views.

Include Foreign Keys in the model is - Disabled.

Import selected Stored Procedures & Functions into the Entity model is Disabled


Download FREE API for Word, Excel and PDF in ASP.Net: Download
on Jul 05, 2021 04:38 AM

Hi ramco1917,

You need to update model from database to import the procedure and functions.

Refer below article.

ASP.Net MVC: Call Stored Procedure using Entity Framework