1

What is present scenario of Retrieve data from SQL in MVC 4 or 5.

Is it safe to use Entity FrameWork?.

disadvantage of using Entity FrameWork?

2 Answers 2

2

Yes it is safe to use entity framework, and is probably the most recommended method to begin with.

Sign up to request clarification or add additional context in comments.

6 Comments

Can i use ADO.Net Entity Data Model to access data? or use define Table class manually.?
Yes, if you already have a database defined, you can add an ADO.Net Entity Data Model.
It is fine if you are using EF6 and have an already existing database.
what about using Sqlconnection ?
Yes, you can use EF for real time projects. Most performance issues when reading data is due to Change Tracking being enabled when it is not required to be, but all this can be configured.
|
1

ADO.NET Entity Framework: ADO.Net

For the Best Practice, Try this link to begin with.

  1. EntityFramework Tutorial: EntityFramework
  2. MSDN Tutorial to integrate EntityFramework in Project: MSDN

1 Comment

what about using Sqlconnection ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.