| by Achyut Kendre | No comments

Understand Linq Joins using DbFirst Example

Join Code Example: – https://drive.google.com/file/d/1hNIyl4ggcolcPNCyE6meEH-uhcPixWLF/view?usp=sharing Similar SQL Joins we can also implement the joins in LINQ. Linq provides you a join keyword which will help you to implement the joins in LINQ. Joins are required if you need the data from multiple tables together. Inner Join or Simple Join In LINQ This is similar to […]

Read More
| by Achyut Kendre | No comments

How to use extensions Method in LINQ?

LINQ also provides you extension methods those can be used to manipulate data, few extension methods are – Where(predicate):- it will get you all instances who satisfies the predicate.OrderBy(fieldname) :- sort the data in ascending orderOrderByDescending(fieldname) :- in descending orderSingle(predicate) : – find single instance who satisfies the predicate, if found returns it, if not […]

Read More
| by Achyut Kendre | No comments

What is LINQ? How to use LINQ ?

Example Code: https://drive.google.com/file/d/1CMK36IwA-9Bfay7H9jg71sBtvuCDnQ0d/view?usp=sharing LINQ is called Language Integrated Query Technology which allow you to query data from various data sources like – Database, XML ,JSON, Entities etc. LINQ is introduced in .NET 3.5 and Visual Studio 2008. The beauty of LINQ is it provides the ability to .NET languages(like C#, VB.NET, etc.) to generate queries […]

Read More