Click here to Skip to main content
15,883,901 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
which one we are using better inserting data in data base (Entity frame work or business logic layer)in Mvc3 rezor
Posted

1 solution

First of all one should never code the data access logic in business logic layer. Remember the 3 Tier model will have Presentation/View , Business Logic and Data Access Layer.

We can either go with Entity Framework Code First or Model First approach and take advantage of OR mapping or can go with ADO.NET Approach. There's Pros and Cons in either approaches, You can Google and learn more.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900