1 / 6

Introduktion til LINQ

Niels Ladegaard Beck Microsoft Student Partner Aarhus Universitet. Introduktion til LINQ. Data != objekter. Objekt orienteret udvikling er en fornøjelse  Compileren informerer om fejl Breakpoints IntelliSense - det magiske punktum Brug af data er knap så stor en fornøjelse 

jamar
Download Presentation

Introduktion til LINQ

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Niels Ladegaard Beck Microsoft Student Partner Aarhus Universitet Introduktion til LINQ

  2. Data != objekter • Objekt orienteret udvikling er en fornøjelse  • Compileren informerer om fejl • Breakpoints • IntelliSense - det magiske punktum • Brug af data er knap så stor en fornøjelse  • Ingen compiler der informerer om fejl • Ingen breakpoints • Ingen IntelliSence men blot strenge • Data er ikke stærkt typede • Fordele: Query sprog, deklarativt

  3. LINQ • Query integreret i C# 3.0, VB.NET 9.0 - med tiden flere • Typestærkt, breakpoints, IntelliSense • LINQ to Objects • LINQ to 'relational' where 'relational' in ("SQL", "DataSets", "Entities") • LINQ to XML

  4. DEMO

  5. 3 ting du skal huske • Data == objekter • Imperative  declarative • Virker med objekter, relationelle data og XML

  6. Links • Webcast om C# 3.0http://nlbeck.dk/WebcastAboutLINQAtMsdndk.aspx • Generelt om C# 3.0http://www.microsoft.com/danmark/msdn/guide/c3.mspx • Visual Studio 2008http://msdn.microsoft.com/vstudio/ • Min bloghttp://nlbeck.dk

More Related