linq to sql insert,update&删除数据 [英] linq to sql insert,update & delete a data
本文介绍了linq to sql insert,update&删除数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在linQ to sql的帮助下进行查询
how to make query's with the help of linQ to sql
推荐答案
hi,
简而言之,为了使用查询Linq to Sql,需要创建一个Dbml文件。然后,创建您的表上的ORM,然后使用dbml的实例进行不同的查询。以下是一些有用的链接:
http://weblogs.asp.net/scottgu/archive/2007/05/19/using-linq-to-sql-part-1.aspx [ ^ ]
http://www.hookedonlinq .com / LINQtoSQL5MinuteOverview.ashx [ ^ ]
我希望它有所帮助,
干杯
In short, in order to make queries using Linq to Sql, you need to create a Dbml file. Then, create your ORM which is your tables on that and then use an instance of the dbml to make different queries. Here are some useful links:
http://weblogs.asp.net/scottgu/archive/2007/05/19/using-linq-to-sql-part-1.aspx[^]
http://www.hookedonlinq.com/LINQtoSQL5MinuteOverview.ashx[^]
I hope it helps,
Cheers
这可能对你有帮助。
这个艺术品包括
需要LINQ
LINQ的优点
和初学者教程>
& lt; a href =& quot; http://www.codeproject.com/Tips/590978/LINQ-Tutorial-for-Beginners& quot;& GT; LIN Q初学者教程& lt; / a& gt; [& lt; a href =& quot; http://www.codeproject.com/Tips/590978/LINQ-Tutorial-for-Beginners& quot;目标=安培; QUOT; _blank&安培; QUOT; title =& quot; New Window& quot;& gt; ^& lt; / a& gt;]< / pre>
This might help you.
this artical include
Need for LINQ
Advantages of LINQ
and Tutorial for beginners
<a href="http://www.codeproject.com/Tips/590978/LINQ-Tutorial-for-Beginners">LINQ Tutorial for Beginners</a>[<a href="http://www.codeproject.com/Tips/590978/LINQ-Tutorial-for-Beginners" target="_blank" title="New Window">^</a>]</pre>
这篇关于linq to sql insert,update&删除数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文