Can we use left join in linq?
Answer / Avanish Kumar
Yes, we can use Left Join in LINQ using the Join method with a custom selector. The custom selector should return a KeyValuePair<TKey, TElement> object, where the first type is the type of the key in the source table and the second type is the result to be returned.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are lambda expressions in LINQ?
Explain what is the difference between statement lambda and expression lambda?
How var type is different from anonymous type?
What is difference between XElement.Load() and XDocument.Load()?
What are anonymous types?
What are the benefits of LINQ on dataset?
What is select new linq?
Explain what is select clause and where clause in linq?
What are the four linq providers that .net framework ships?
Why can not datareader by returned from a web services method?
What is difference between first and single in linq?
What is the use of linq in c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)