How to start with new Technology this [Resolved]

Posted by Jayakumars under C# on 4/4/2017 | Points: 10 | Views : 318 | Status : [Member] [MVP] | Replies : 1
Hi

Which is best in MVC Architecture in below ?

1.MVC with Entity Framework

2.MVC with Code First Approach

any one guide me give CRUD operations source code also

Mark as Answer if its helpful to you


Responses

Posted by: Rajnilari2015 on: 4/4/2017 [Member] [Microsoft_MVP] [MVP] Platinum | Points: 50

Up
0
Down

Resolved
@Jayakumars Sir,

Which is best in MVC Architecture in below ?

1.MVC with Entity Framework

2.MVC with Code First Approach


First thing first... MVC with EF forms a Framework.

Second thing, Code First Approach is one of the approaches available in the EF ORM. It's an approach/method by which the application layer talks to the DB Server. The other approaches being Data First Approach and Model First

A nice article on the same is presented here (https://www.simple-talk.com/dotnet/net-framework/different-approaches-of-entity-framework/ )

any one guide me give CRUD operations source code also

Please find one at DNF(http://www.dotnetfunda.com/articles/show/3314/crud-using-code-first-approach-of-entity-framework-ef )

More at : http://www.dotnetfunda.com/articles/cat/131/aspnet-mvc

Also Sheo Sir, has contributed multiple articles, you can refer http://www.dotnetfunda.com/articles/show/3437/how-to-save-more-than-2-decimal-places-into-the-database-using-entity

and this (http://www.dotnetfunda.com/articles/show/3201/creating-a-simple-aspnet-mvc-project-part-1-in-23-steps )will satisfy most of your needs.

Hope that helps.

--
Thanks & Regards,
RNA Team

Jayakumars, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response