Presentation is loading. Please wait.

Presentation is loading. Please wait.

Joshua Clark Consultant Sogeti USA Blog:

Similar presentations


Presentation on theme: "Joshua Clark Consultant Sogeti USA Blog:"— Presentation transcript:

1 Joshua Clark Consultant Sogeti USA Email: joshua.clark@sogeti.comjoshua.clark@sogeti.com Blog: http://joshua-clark.blogspot.comhttp://joshua-clark.blogspot.com

2

3

4

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

6

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); }

8

9

10 Data != Objects

11

12

13 SQL Query is a string Loosely bound parameters Loosely type columns

14

15

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) ) );

17

18

19

20

21


Download ppt "Joshua Clark Consultant Sogeti USA Blog:"

Similar presentations


Ads by Google