我需要加入DataTable
和使用LINQ的SQL表。如何使用LINQ加入數據表和SQL表
這是LINQ查詢:
from c in db.Staging
join c1 in tagging on c.RPT_ID equals c1.RPT_ID
select c
但是我收到以下錯誤:
System.NotSupportedException: Local sequence cannot be used in LINQ to SQL implementations of query operators except the Contains operator.
您可以在vb.net中分享第二個選項的語法 – 2013-02-16 11:23:34