ithighway — 2013-10-15T06:31:49-04:00 — #1
I am new to ASP.net.
I am working on an ASP.net C# (framwork 4.0) website. I want to use LINQ instead of SQL.
What I need to do in order to start using LINQ queries instead of standard sql.
nightstalker — 2013-10-16T00:17:41-04:00 — #2
You just need to add the Linq2Sql reference to your project. But you can also take a look at PLINQO templates if you use CodeSmith to generate your classes
honeymonster — 2013-11-18T02:22:57-05:00 — #3
I would recommend you look into Entity Framework. Use Nuget to add the required references to your project. With EF you do not need to write SQL - you can write queries using LINQ.
endermb — 2013-11-28T07:57:05-05:00 — #4
I can definitely recommend Entity Framework. I used to be a straight-up stored procedure guy, but it's made working with db data so much nicer.
mak — 2013-11-29T08:49:47-05:00 — #5
You'll need to establish an ORM system in your application in order to map your classes to database tables. Most people use Entity Framework.
narenkumar851 — 2014-01-05T11:01:39-05:00 — #6