Welcome to YLOAN.COM
yloan.com » misc » What Is Linq To Sharepoint
Gadgets and Gizmos misc Design Bankruptcy Licenses performance choices memorabilia bargain carriage tour medical insurance data

What Is Linq To Sharepoint

What is LINQ? and why use it with SharePoint List data

?

LINQ stands for Language Integrated Query, and what LINQ does is add a native querying syntax reminiscent of SQL to .NET Framework programming languages.

Where to get LINQ to SharePoint?

LINQ to SharePoint Server is available in several forms. Next to a regular installer (MSI-package) the projects source code is also available for download. The reason for making the code available is to help others in implementing custom LINQ query providers. In order to use LINQ to SharePoint Server 2010, one needs the .NET Framework 3.5. If you want to profit from the Visual Studio 2008 integration, you should have Visual Studio 2008 Professional or higher.


The installer and source for the latest release can both be found in the Releases-tab on http://www.codeplex.com/LINQtoSharePoint. The latest sources can be found via the Source Code-tab on the same web site.

To install the LINQ to SharePoint libraries, run the installer and this will automatically install the libraries and configure Visual Studio 2008. To use the library you can simply add a new LINQ to SharePoint file. You can do this by right-clicking the project, Add, New Item, selecting the LINQ to SharePoint file and clicking Add. This will automatically add a reference to the library to your project.

If you want to manually add this reference, follow these steps:

1. Add the reference to the library by clicking the Add Reference item on the properties menu of your project (right-click on the project node in Solution Explorer and choose Add Reference)

2. In the .NET-tab of the Add Reference dialog, select the LINQ to SharePoint runtime library (BdsSoft.SharePoint.Linq) and click OK

3. In Solution Explorer, the library has been added to the references

4. In your projects source code, add a using-statement using BdsSoft.SharePoint.Linq;

5. Now the library is ready to be used

Features of LINQ to SharePoint include the following:

o Custom query provider that translates LINQ queries to CAML, the Collaborative Application Markup Language used by SharePoint for querying

o Support for LINQ in C# 3.0 and Visual Basic 9.0.

o Entity creation tool SpMetal to export SharePoint list definitions to entity classes used for querying

o Visual Studio 2008 integration for entity creation (a.k.a. SPML)

o Can connect to a SharePoint site either using the SharePoint object model or via the SharePoint web services

o Planned support for updating through entity types

Take advantage of the SharePoint family of products including SharePoint Server 2010, SharePoint Foundation 2010, MOSS 2007, and associated free SharePoint templates and web parts.

by: Adrian Gates
Kalki Koechlin Bollywood Actress Sharepoint 2010 Multi-lingual User Interface BEST COLLISION CENTER HAYWARD CA Makeup can truly make or mar a bride's day How Has Been The Journey Of Neon Signs? A Look At Some Of The Popular Type Of Massages Perfect Solution To Glow Your Area Why Layoffs Don't Reduce Costs How To Find A Jogging Partner Nagesh Kukunoor Bollywood Director Skin Moles - A Closer Look At Them Water Tank Rebate Katrina Kaif Hot Bollywood Actress
print
www.yloan.com guest:  register | login | search IP(216.73.217.98) California / Rosemead Processed in 0.020734 second(s), 5 queries , Gzip enabled , discuz 5.5 through PHP 8.3.9 , debug code: 40 , 2874, 85,
What Is Linq To Sharepoint Rosemead