SPMetal Parameters XML Schema

Applies to: SharePoint Foundation 2010

The SPMetal Parameters XML is used to override certain aspects of the default behavior of SPMetal, especially with regard to what content database entities are included in the entity classes that the tool generates. For more information on how the elements are used, see Overriding SPMetal Defaults by Using a Parameters XML File, How to: Use SPMetal, SPMetal Default Code Generation Rules, and SPMetal.

Elements

Web

   ContentType

     Column

     ExcludeColumn

     ExcludeOtherColumns

     IncludeHiddenColumns

   ExcludeContentType

   ExcludeOtherContentTypes

   IncludeHiddenContentTypes

   List

     ContentType

     ExcludeContentType

   ExcludeList

   ExcludeOtherLists

   IncludeHiddenLists

See Also

Tasks

How to: Use SPMetal

Reference

SPMetal

Concepts

Overriding SPMetal Defaults by Using a Parameters XML File

SPMetal Default Code Generation Rules