Generate entity classes

Overview

SPMetal is a command line tool that generates entity classes, which provide an object oriented interface to the Microsoft SharePoint Foundation content databases. These classes are primarily used in LINQ to SharePoint queries; but they are also used to add, delete, and change list items with concurrency conflict resolution. Finally, they can be used as an alternative to the regular SharePoint Foundation object model for referencing content. You can now generate them directly from the Site node within the Server Explorer.

For more information check out MSDN.
SPMetal

How To:

  • Right mouse on the Site node.
  • From the context menu select the 'Generate entity classes' menu option.
Menu item displayed
  • The entity classes are now generated and added to the currently selected project.
Developer Dashboard Settings Dialog

Last edited Mar 26, 2010 at 10:18 PM by WesHackett, version 4

Comments

No comments yet.