How to get started with Linq to sql? [closed]

2019-08-12 01:21发布

问题:

I am developing a new web application which would be simple and i decided to use asp.net mvc and Linq to sql..

I thus far have no idea about Linq to Sql...

  • How to get started with Linq to sql?

  • What should i watch out for when using Linq to sql?

回答1:

Here are a couple of great tutorials...

  • Scott Guthrie
  • Joe Stevens
  • hookedonlinq
  • ASP.NET

Also check out LinqPad. It will help you understand how Linq 2 Sql works a bit better, especially if you are already comfortable with SQL.



回答2:

Also you should check out the ASP.NET site which has a great series of video tutorials to get you started in no-time http://www.asp.net/learn/linq-videos/



回答3:

maybe you should try entity framework (microsoft's new orm) linq to sql is a bit crusty