Comparing LINQ to SQL vs the classic SqlCommand
Posted by: Al Pascual,
on 08 Mar 2010 |
View original | Bookmarked: 0 time(s)
tweetmeme_url = 'http://alpascual.com/blog/comparing-linq-to-sql-vs-the-classic-sqlcommand/';tweetmeme_source = 'alpascual';When you are coming from using SqlCommand and SqlConnection is difficult to move to another library for your database needs. For those people still in the limbo to make the decision to move to another DAL, here is a comparison to help you see the light or to move away for ever. How to do a select query using SqlCommand: 1: SqlConnection myConnection = new...