Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to do left join in linq with entity framework?



How to do left join in linq with entity framework?..

Answer / Priyanka Tiwari

To perform a LEFT JOIN using Entity Framework, you can use the Include() method and specify the relationship between the entities. For example: var result = from a in db.Customers.Include("Orders") select a; This will create a LEFT OUTER JOIN between Customers and Orders.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More LINQ Language-Integrated Query Interview Questions

How to return list from linq query?

1 Answers  


What is difference between first and single in linq?

1 Answers  


What is into in linq?

1 Answers  


What are aggregate operators?

1 Answers  


In LINQ how will you find the index of the element using where () with Lambda Expressions?

1 Answers  


Explain how you can assign a lambda expression to a delegate?

1 Answers  


Enlist the advantages of linq?

1 Answers  


What is a linq cardiac monitor?

1 Answers  


Explain how LINQ is useful than Stored Procedures?

1 Answers  


What are advantages of using LINQ on DataSet?

1 Answers  


What is difference between single and singleordefault in linq?

1 Answers  


What are different methods to write LINQ Query?

1 Answers  


Categories