USE JOIN IN LINQ QUERY.

Ankit Singh

Total Post:341

Points:2389
Posted by  Ankit Singh
LINQ 
 519  View(s)
Ratings:
Rate this:
how to use join in linq query.
  1. Ankit Singh

    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

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!