Linq in asp.net

312 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
312
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Linq in asp.net

  1. 1. MuhammedAjmal ajuik2008@gmail.com www.facebook.com/ajuik2008 twitter.com/username in.linkedin.com/in/profilename 9745020951 LINQ
  2. 2. Disclaimer: This presentation is prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra –Mentoring Partner Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
  3. 3. Introduction • LINQ stands for Language-Integrated Query • It is simply a unified programming model for writing SQL queries in simple language(C#,VB,etc) without learing SQL.
  4. 4. LINQ contd.. • It has a single unitive syntax for querying multiple data sources. • It uses a declarative syntax that allows developers to tell the compiler what to do.
  5. 5. Structure of LINQ
  6. 6. How Write Linq query ? Var variablename= from tempvariable in dataSource Where condition Select columns
  7. 7. Stages of the Query 1. Obtain the data source for the query 2. Create the query 3. Execute query
  8. 8. Advantage • LINQ syntax is same, when querying multiple data sources. • it provides syntax highlighting.
  9. 9. Example 1 create dataContext class
  10. 10. Datacontext class
  11. 11. Data from db
  12. 12. output
  13. 13. Data From object
  14. 14. Contd..
  15. 15. Thank you
  16. 16. Want to learn more about programming or Looking to become a good programmer? Are you wasting time on searching so many contents online? Do you want to learn things quickly? Tired of spending huge amount of money to become a Software professional? Do an online course @ baabtra.com We put industry standards to practice. Our structured, activity based courses are so designed to make a quick, good software professional out of anybody who holds a passion for coding.
  17. 17. Follow us @ twitter.com/baabtra Like us @ facebook.com/baabtra Subscribe to us @ youtube.com/baabtra Become a follower @ slideshare.net/BaabtraMentoringPartner Connect to us @ in.linkedin.com/in/baabtra Give a feedback @ massbaab.com/baabtra Thanks in advance www.baabtra.com | www.massbaab.com |www.baabte.com
  18. 18. Emarald Mall (Big Bazar Building) Mavoor Road, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 NC Complex, Near Bus Stand Mukkam, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 Cafit Square, Hilite Business Park, Near Pantheerankavu, Kozhikode Start up Village Eranakulam, Kerala, India. Email: info@baabtra.com Contact Us

×