SharePoint Study Notes-LINQ to SharePoint-another method for generating entity classes for Sharepoint site

Source: Internet
Author: User

Generally, we can use the spmetal command line to generate the entity classes of the SharePoint site. This method is flexible. However, visual studio2010 also provides us with a simple and quick graphical interface to generate entity classes.
1. Download The CKs Visual Studio extension. You can download the extension for Sharepoint Server or for Sharepoint Foundation kit.

Download the extension for Sharepoint Server from here

Download the extension for Sharepoint Foundation from here

2. Use CKS to generate entity classes from SharePoint site.
After you install the above CKS tool, open a project, Open Server Explorer, and create a new SharePoint website connected to your debugging in Server Explorer. For example

 

Enter the SharePoint website address you want to establish a connection

Select the website, right-click the website, and select generate entity classes from the context menu.

So we can find the entityclasses generated by CKS for us in the related directory of solution.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.