简体   繁体   English

SPMetal:如何覆盖它以使用内部名称而不是“显示名称”

[英]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. 所以我使用SPmetal工具生成数据类以使用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? 如何覆盖SPMetal设置以使用内部名称或静态名称?

You can use parameters.xml for overridde column name. 您可以使用parameters.xml来覆盖列名。

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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