为什么linq以select开头

LINQ queries begin with the FROM clause, rather than the SELECT clause that most of us are familiar with in other query languages. When LINQ was being created, query statements did begin with SELECT. However, the developers at Microsoft quickly realized that identifying the type that is being used up front enabled IntelliSense to provide meaningful suggestions as the rest of the query was constructed.
posted @ 2009-10-10 17:25  Jerry Qian  阅读(156)  评论(0编辑  收藏  举报