I use visual studio 2005 , but recently I’ve heard that there is a new technology which called entity framework .. should I move on and use it instead of using the usual SqlDataReader !!
the most important thing to me is the performance , note that I get the data from the DB using DataReader and return it as a generic List ..
any suggestion .. thanx 🙂
I use visual studio 2005 , but recently I’ve heard that there is a
Share
The
SqlDataReaderand theEntity Frameworkare two completely different approaches to access your data. WithSqlCommands, you yourself write the SQL queries. With an O/R mapping technology such as theEntity Framework, the relational database structure is mapped to objects whose properties you access, e.g. Linq to Entities. Note that the O/R mapping approach is not about speed.