Insight into LINQ and its different components in .NET C# 3.5

Your Ad Here

LINQ Components


Because LINQ is so powerful, you should expect to see a lot of systems and products become LINQ
compatible. Virtually any data store would make a good candidate for supporting LINQ queries. This
includes databases, Microsoft’s Active Directory, the registry, the file system, an Excel file, and so on.
Following are the components for usage.


LINQ to Objects
LINQ to Objects is the name given to the IEnumerable<T> API for the Standard Query Operators. It is
LINQ to Objects that allows you to perform queries against arrays and in-memory data collections.
Standard Query Operators are the static methods of the static System.Linq.Enumerable class that you
use to create LINQ to Objects queries.


LINQ to XML
LINQ to XML is the name given to the LINQ API dedicated to working with XML. This interface was
previously known as XLinq in older prereleases of LINQ. Not only has Microsoft added the necessary
XML libraries to work with LINQ, it has addressed other deficiencies in the standard XML DOM, thereby
making it easier than ever to work with XML. Gone are the days of having to create an XmlDocument
just to work with a small piece of XML. To take advantage of LINQ to XML, you must have a reference to
the System.Xml.Linq.dll assembly in your project and have a using directive such as the following:
using System.Xml.Linq;


LINQ to DataSet
LINQ to DataSet is the name given to the LINQ API for DataSets. Many developers have a lot of existing
code relying on DataSets. Those who do will not be left behind, nor will they need to rewrite their
code to take advantage of the power of LINQ.


LINQ to SQL
LINQ to SQL is the name given to the IQueryable<T> API that allows LINQ queries to work with
Microsoft’s SQL Server database. This interface was previously known as DLinq in older prereleases
of LINQ. To take advantage of LINQ to SQL, you must have a reference to the System.Data.Linq.dll
assembly in your project and have a using directive such as the following:
using System.Data.Linq;


LINQ to Entities
LINQ to Entities is an alternative LINQ API that is used to interface with a database. It decouples the
entity object model from the physical database by injecting a logical mapping between the two. With

this decoupling comes increased power and flexibility, as well as complexity. Because LINQ to Entities
appears to be outside the core LINQ framework, it is not covered in this book. However, if you find
that you need more flexibility than LINQ to SQL permits, it would be worth considering as an alternative.
Specifically, if you need looser coupling between your entity object model and database,
entity objects comprised of data coming from multiple tables, or more flexibility in modeling your
entity objects, LINQ to Entities may be your answer.

 

Happy Reading for more in-depth knowledge of LINQ  in future blogs.

Subscribe
Posted in Labels: kick it on DotNetKicks.com |

49 comments:

  1. Anonymous Says:

    watermelon viagra viagra faq 2007 viagra hmo where to buy viagra viagra cheap viagra pill viagra online uk buy viagra in london england natural herbs used as viagra how does viagra work mexico viagra is viagra safe for women free sample prescription for viagra cheap viagra canada

  2. Anonymous Says:

    kazar torebki
    to torebki mlodziezowe , torebki skorzane , torebka kuferek . torby damskie , torebki zamszowe ?

  3. Anonymous Says:

    can you buy xanax online buy greenstone xanax - xanax withdrawal 1mg per day

  4. Anonymous Says:

    xanax pills xanax prescription online no prescription - xanax side effects headache

  5. Anonymous Says:

    cheap generic soma soma 456 - soma muscle relaxer generic

  6. Anonymous Says:

    carisoprodol soma soma muscle relaxer narcotic - soma muscle relaxer drug test

  7. Anonymous Says:

    soma muscle soma muscle cream - soma drug family

  8. Anonymous Says:

    buy soma buy soma online mastercard - soma robes

  9. Anonymous Says:

    buy soma buy generic somatropin - where to buy aura-soma products

  10. Anonymous Says:

    cheapest soma soma drug description - soma cube online game

  11. Anonymous Says:

    buy soma online soma 0 copay - methadone soma drug interactions

  12. Anonymous Says:

    http://site.ru - [url=http://site.ru]site[/url] site
    site

  13. Anonymous Says:

    buy soma soma logic - online soma no prescription

  14. Anonymous Says:

    buy tramadol online tramadol overdose treat - tramadol hydrochloride 100mg used

  15. Anonymous Says:

    buy tramadol online cod overnight buy tramadol using mastercard - tramadol to buy online

  16. Anonymous Says:

    buy cialis online cialis 5mg review - generic cialis will available

  17. Anonymous Says:

    tramadol online overnight tramadol 50mg and xanax - can you withdrawal tramadol

  18. Anonymous Says:

    buy tramadol online buy tramadol online no prescription mastercard - tramadol 50 mg once a day

  19. Anonymous Says:

    buy cialis online viagra cialis reviews - cialis online nederland

  20. Anonymous Says:

    tmd generic zithromax cost - buy cheap azithromycin http://www.zithromaxonlinerx.net/#cheap-zithromax, [url=http://www.zithromaxonlinerx.net/#cheap-zithromax]azithromycin sale [/url]

  21. Anonymous Says:

    xrh purchase strattera online - buy generic strattera http://www.stratteraforsale.net/#buy-generic-strattera , [url=http://www.stratteraforsale.net/#generic-strattera-online ]generic strattera online [/url]

  22. Anonymous Says:

    Hello, carisoprodol online no prescription - carisoprodol 350 mg http://www.californiabarattorneysearch.net/#carisoprodol-350-mg , [url=http://www.californiabarattorneysearch.net/#cheap-soma-online ]cheap soma online [/url]

  23. Anonymous Says:

    buy tramadol legal buy tramadol online usa - buy tramadol in usa no prescription

  24. Anonymous Says:

    generic xanax side effects long term xanax use - xanax bars 2 mg street price

  25. Anonymous Says:

    buy generic tramadol tramadol hcl no prescription - buy tramadol online mastercard overnight

  26. Anonymous Says:

    generic xanax buy upjohn xanax online - can you order xanax online legally

  27. Anonymous Says:


    4 Cymbalta Without Prescription - buy cheap cymbalta http://www.cymbaltaduloxetineorder.net/#order-cymbalta, Order Cymbalta

  28. Anonymous Says:

    buy tramadol buy tramadol online in usa - order tramadol cash delivery

  29. Anonymous Says:

    cheap cialis 20mg buy cialis delhi - generic cialis 4rx

  30. Anonymous Says:

    cialis drug cialis online from us pharmacy - once daily cialis side effects

  31. Anonymous Says:

    buy cialis online cialis samples - generic cialis trial pack

  32. Anonymous Says:

    cialis 10mg illegal to buy cialis online - cialis daily once a day

  33. Anonymous Says:

    cialis pills how to buy cialis online safely - can you buy cialis online no prescription

  34. Anonymous Says:

    http://landvoicelearning.com/#97734 buy tramadol online fedex delivery - how to buy tramadol online

  35. Anonymous Says:

    http://landvoicelearning.com/#63987 tramadol overdose in dogs treatment - where to buy tramadol forum

  36. Anonymous Says:

    buy tramadol online where can i order tramadol - can i buy tramadol over the counter

  37. Anonymous Says:

    klonopin online klonopin amount to overdose - klonopin kick in

  38. Anonymous Says:

    clonazepam no prescription klonopin withdrawal hallucinations - klonopin side effects muscle weakness

  39. Anonymous Says:

    http://landvoicelearning.com/#57594 tramadol online with no prescription - tramadol for dogs no prescription

  40. Anonymous Says:

    buy tramadol tramadol 50mg for dogs dosage - tramadol (ultram) must be used with caution in persons with

  41. Anonymous Says:

    http://buytramadolonlinecool.com/#63102 how to buy tramadol legally - tramadol hcl 50 mg dogs

  42. Anonymous Says:

    buy tramadol online tramadol 58 93 dosage - what is tramadol a generic for

  43. Anonymous Says:

    http://www.integrativeonc.org/adminsio/buyklonopinonline/#5508 klonopin dosage vs xanax dosage - low dosage klonopin

  44. Anonymous Says:

    carisoprodol 350 mg carisoprodol 350 mg cost - cost of carisoprodol 350 mg

  45. Anonymous Says:

    carisoprodol 350 mg carisoprodol 350 mg effects - carisoprodol 350 mg contraindications

  46. Anonymous Says:

    carisoprodol 350 mg buy carisoprodol usa - carisoprodol online no prescription cod

  47. Anonymous Says:

    http://southcarolinaaccidentattorney.com/#31694 carisoprodol soma vanadom - carisoprodol barbiturate

  48. Anonymous Says:

    Most people simply repay it and take out another to make do for the next 7 days. In the state regarding California, almost all online creditors must get yourself a California permit in order to approach loans? In the event no, it is sure that you're going to be seeking for the simplest way to acquire for instant money proper. Same day loans It's the responsibility regarding finance sportsman or similar stuffs to have verified as well as signature!

  49. Anonymous Says:

    It also provides a financial design in areas that are under-developed along with under-banked. Military consumers are competitive, yet no armed forces unit desires another for you to fail. Overtime, along with responsible repayment, you can also obtain online, medical unanticipated emergencies, savings with immediate deposit. instant payday loan For longer name credit, make sure you look at a credit-based card or person loan.