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

ramco1917
 
on Jul 04, 2021 10:49 PM
990 Views

Hi

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

Thanks

Download FREE API for Word, Excel and PDF in ASP.Net: Download
dharmendr
 
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