Download presentation
Presentation is loading. Please wait.
1
Joshua Clark Consultant Sogeti USA Email: joshua.clark@sogeti.comjoshua.clark@sogeti.com Blog: http://joshua-clark.blogspot.comhttp://joshua-clark.blogspot.com
5
C# 3.0C# 3.0 Visual Basic 9.0Visual Basic 9.0 OthersOthers.NET Language Integrated Query LINQ to Objects LINQ to DataSets LINQ to SQL LINQ to Entities LINQ to XML Objects Relational XML
7
string[] mystuff = {“linq”, “is”, “awesome”}; var wordswithl = from stuff in mystuff where stuff.Contains(“l”) select stuff; foreach(var n in wordswithl) { Console.WriteLine(n); }
10
Data != Objects
13
SQL Query is a string Loosely bound parameters Loosely type columns
16
XElement contacts= new XElement(“contacts”, from c in customers where c.Country == “USA” select new XElement(“contact”, new Xelement(“name”, c.CompanyName), new Xelement(“phone”, c.Phone) ) );
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.