<p>I've been successful with writing my own SQL access code with a combination of stored procedures and parameterized queries and a little wrapper library I've written to minimize the ADO.NET grunge. This has all worked very well for me in the past and I've been pretty productive with it. </p>

<p>I'm heading into a new project--should I put my old school stuff behind me and dig into an ORM-based solution? (I know there are vast high-concepts differences between NHibernate and EF--I don't want to get into that here. For the sake of argument, let's even lump LINQ with the old-school alternatives.) I'm looking for advice on the real-world application of ORM type stuff against what I know (and know pretty well). </p>

<p>Old-school ADO.NET code or ORM? I'm sure there is a curve--does the curve have an ROI that makes things worthwhile? I'm anxious and willing to learn, but do have a deadline.</p>

[{'answer_id': 59983, 'author': 'Jonathan Allen', 'author_id': 5274, 'author_profile': 'https://Stackoverflow.com/users/5274', 'pm_score': 2, 'selected': False, 'text': "<p>I find that LINQ to SQL is much, much faster when I'm prototyping code. It just blows away any other method when I need something now.</p>\n\n<p>But there is a cost. Compared to hand-rolled stored procs, LINQ is slow. Especially if you aren't very careful as seemingly minor changes can suddenly make a single turn into 1+N queries.</p>\n\n<p>My recommendation. Use LINQ to SQL at first, then swtich to procs if you aren't getting the performance you need.</p>\n"}, {'answer_id': 59990, 'author': 'Ray', 'author_id': 4872, 'author_profile': 'https://Stackoverflow.com/users/4872', 'pm_score': 2, 'selected': True, 'text': '<p>A good question but a very controversial topic.</p>\n\n<p><a href="http://weblogs.asp.net/fbouma/archive/2003/11/18/38178.aspx" rel="nofollow noreferrer">This blog post from Frans Bouma</a> from a few years back citing the pros of dynamic SQL (implying ORMs) over stored procedures sparked quite the fiery flame war.</p>\n'}, {'answer_id': 60002, 'author': 'Kyle B.', 'author_id': 6158, 'author_profile': 'https://Stackoverflow.com/users/6158', 'pm_score': 0, 'selected': False, 'text': '<p>There was a great discussion on this topic at DevTeach in Montreal.  If you go to this URL: <a href="http://www.dotnetrocks.com/default.aspx?showNum=240" rel="nofollow noreferrer">http://www.dotnetrocks.com/default.aspx?showNum=240</a> you will be able to hear two experts in the field (Ted Neward and Oren Eini) discuss the pros and cons of each approach.  Probably the best answer you will find on a subject that has no real definite answer. </p>\n'}]
['https://Stackoverflow.com/questions/59972', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2536/']