Another EF Code First post. Long back I post about how to use Stored Procedure in Entity Framework. (You can find it here). This post is about how to use stored procedure in Entity Framework Code First. Here is my stored procedure. And here is code snippet which will help to execute this Stored procedure. [...]
Posts Categorized: Entity Framework
How to Populate data in Entity Framework code first on database creation
Yesterday I got chance to work on an ASP.Net MVC application, in which I was planned to use Entity Framework Code First as Model. But I found one issue with that approach, few of the tables, like Roles, Users etc, which may need to pre-populate data, instead of creating in runtime. After a few search [...]