Awais Zafar

Awais Zafar

  • NA
  • 34
  • 1.3k

CRUD operations in ASP.NET MVC via EF Code First using SP's

Jan 3 2018 6:57 AM

I'm new to ASP.NET MVC and Entity Framework. I have assignment of performing CRUD operations using EF code-first approach via stored procedures. I had tried it in a database-first approach and succeeded, but in a code-first approach, I've been stuck for the past week.

I've searched on google but everywhere examples are so much complicated for me. Please do explain in easy and simple. For example we have a StudentInfo table with columns Id, Name, Age and Roll Number available for CRUD operations.

How to perform CRUD operation on this table using a code-first approach via stored procedures in ASP.NET MVC?

Thanks in advance.


Answers (2)