Suppose I have two tables:
Tab1(id, shareid, ....)
Tab2(id, shareid, ...)
DB was modeled by EF. Then I want to a linq get same result as following sql:
select t1.* from Tab1 t1 join Tab2 t2 on t1.shareid=t2.shareID
So linq should be somthing like:
ObjectContext.Tab1s.Where(...);
How to write the linq for this request?