Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sub query in linq

var result = from ord in db.Orders
             join osub in (from o in db.Orders
		            where o.region = "Canada"
		            select o)
                on ord.orderId equals osub.orderId 
	      select new {ord.custId, ord.orderDate};
 
PREVIOUS NEXT
Tagged: #query #linq
ADD COMMENT
Topic
Name
9+6 =