LINQ Tutorial – Learn linq using asp.net core 3.0
LINQ (Language Integrated Query) is uniform query syntax in C# and VB.NET to retrieve data from different sources and formats. It is integrated in C# or VB, thereby eliminating the mismatch between programming languages and databases, as well as providing a single querying interface for different types of data sources.
Linq tutorial using asp.net core 3.0
Source on LINQ Query Expression:
https://drive.google.com/uc?export=download&id=1sIJjgwDBDVs5UVAp4DmaKkCNhOL4CZQ2
Where operator:
var emp_data = from s in _context.Employees
where s.Salary gt 15000 && s.Age lt 35
select s;
OrderBy Operator:
Ascending
var emp_data = from s in _context.Employees
orderby s.Age
select s;
Descending
var emp_data = from s in _context.Employees
orderby s.Age descending
select s;
With where
var emp_data = from s in _context.Employees
where s.Salary gt 35000
orderby s.Age descending
select s;
GroupBy Operator
var emp_data = from s in _context.Employees
group s by s.Age;
Github Source code:
https://github.com/dotnettrainingacademy/Linq-Tutorial
Subscribe our channel: https://www.youtube.com/channel/UCYl5G87mJQJOOQoAevAzd5w?sub_confirmation=1
ASP.NET Core advanced topics playlist:
https://www.youtube.com/playlist?list=PLWaICQIaKdJa_dt2AxFHSQJENZec7epGc
Blazor tutorial:
https://www.youtube.com/playlist?list=PLWaICQIaKdJYxRCKAIODg8-rgUf9eA8ju
This is primarily focused on .NET products and also features the best online web development, mobile development, data science and programming tutorials for all of the latest web technologies including ASP.NET Core, .NET Core, Vue.js, Angular, Machine Learning, Deep Learning, ML.NET and HTML, CSS, JS.
My Patreon Page: https://www.patreon.com/dotnetTacademy
My Twitter Page – https://twitter.com/rockyram6195
My Instagram Page – https://www.instagram.com/dotnetacademy/
My FaceBook Page – https://www.facebook.com/ProgrammingWorld2014/
My Facebook Profile – https://www.facebook.com/raja.ram.1257
Comments are closed.