WHAT AND WHY LINQ?

WHAT AND WHY LINQ?

LINQ stands for "Language Integrated Query". MS language developers provided a way to express queries directly in their languages (such as c# and vb)
Benefits of Using LINQ
  • Familiar syntax for writing queries.
  • Compile-time checking for syntax errors and type safety.
  • Improved debugger support.
  • IntelliSense support.
  • Ability to work directly with XML elements instead of creating a container XML document, as required with W3C DOM.
  • In-memory XML document modification that is powerful, yet simpler to use than XPath or XQuery.
  • Powerful filtering, ordering, and grouping capabilities.
  • Consistent model for working with data across various kinds of data sources and formats


LINQ to Objects
Designed to  query in-memory data collections such as the classes the System.Collections and System.Collections.Generic namespaces
 LINQ to SQL
Designed to work with only SQL Server database , to access SQL Server and SQL Server Express databases through a strongly-typed object layer that you create
LINQ to DataSet
It is an easy and faster way to make querying over cached data faster and easier than the filtering and sorting methods available to a DataSet
LINQ to XML

LINQ to XML enables you to create and modify XML documents easily by using LINQ query expressions instead of XPath or XQuery
WHAT AND WHY LINQ? Reviewed by Rupesh on 09:48 Rating: 5

No comments:

All Rights Reserved by Technology from Developers Eye © 2014 - 2015
Powered By Blogger, Designed by Aadics
Disclaimers:: The information provided within this blogsite is for general informational purposes only. While we try to keep the information up-to-date and correct, there are no representations or warranties, express or implied, about the completeness, accuracy, reliability, suitability or availability with respect to the information, products, services, or related graphics contained in this blogsite for any purpose.The author does not assume and hereby disclaims any liability to any party for any loss, damage, or disruption caused by errors or omissions, whether such errors or omissions result from accident, negligence, or any other cause.

Contact Form

Name

Email *

Message *

Powered by Blogger.