Wstęp Do Linq

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Wstęp Do Linq - Presentation Transcript

    1. Wstęp do LINQ
      Daniel Jarzynka
    2. AGENDA
      Klasyczny dostęp do danych
      Czym jest LINQ?
      Typy anonimowe w c#
      Wyrażenia Lambda
      Linq To Object/XML/SQL
      Wady i zalety LINQ
      Pytania
    3. Klasyczny dostęp do danych
      Różne mechanizmy dla różnych danych
      Niewygodne zapytania w ADO
      Gorsze wsparcie środowiska
    4. Czym jest LINQ?
      LINQ = LanguageIntegratedQuerry
      LINQ jest mechanizmem, który reprezentuje dane jako obiekty języka programowania
      Pozwala na wykonywanie zapytań do obiektów implementujących interfejs IEnumerable<T>
      Działa również na dokumentach XML oraz z bazami danych SQL
    5. Czym jest LINQ?
    6. Typy anonimowe w C#
      Dopiero od .NET 3.0
      Zwolnienie programisty od konieczności podania typu danej zmiennej 
      Przykład działania
    7. Wyrażenia lambda
      Są ułatwieniem zapisu anonimowych delegatów
      Maksymalnie 4 argumenty
      Można je przekazywać jako argumenty
      Ułatwia korzystanie z LINQ
    8. LINQ TO OBJECT PRZYKŁAD
    9. LINQ TO SQL PRZYKŁAD
    10. LINQ TO XMLPRZYKŁAD
    11. Wady i zalety LINQ
      Wady:
      • 30% wolniejszy niż klasyczny dostęp
      Zalety:
      • Wygodny, szybki w użyciu
      • Jeden mechanizm, obsługa różnego typu danych
      • Wspierany przez VS
    12. Materiały
      http://windowsclient.net/learn/videos_LINQ.aspx - video LINQ
      http://msdn.microsoft.com/en-us/vcsharp/aa336746.aspx - przykłady
      http://msdn.microsoft.com/en-us/vcsharp/aa336746.aspx - ogólnie o LINQ
    13. Pytania?
    14. Dziękujęmail: daniel.jarzynka@gmail.comgg: 8075506
    15. © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
      The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
    SlideShare Zeitgeist 2009

    + DedlooDedloo Nominate

    custom

    219 views, 0 favs, 1 embeds more stats

    Wstęp do Linq

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 219
      • 66 on SlideShare
      • 153 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 5
    Most viewed embeds
    • 153 views on http://eastgroup.pl

    more

    All embeds
    • 153 views on http://eastgroup.pl

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories

    Tags