Use Join in Linq query.

Total Post:341

Points:2389
LINQ 
 830  View(s)
Ratings:
Rate this:
how to use join in linq query.
  1. Post:341

    Points:2389
    Re: Use Join in Linq query.

    here we are  join tow table in linq query .

     var Result = db.CUSTOMER.Join( 
    db.ORDER,
    cust => cust.CUST_ID,
    ord =>ord.CUST_ID,
    (cust, ord) => new
    {
    CustomerName = cust.CUST_NAME,
    OrderDate=ord.ORD_DATE
    });

Answer