简体   繁体   中英

SPMetal: How to override it to use internal name instead of “Display Name”

So I am using SPmetal tool to generate data classes to use LINQ to SharePoint.

A feature of the tool is aliasing the site column by its Display name.

How can I override SPMetal setting to use Internal name or static name?

You can use parameters.xml for overridde column name.

http://msdn.microsoft.com/en-us/library/ee535056(v=office.14).aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM