列的标题持续存在 [英] captions for columns that persist
问题描述
在创建模型后,任何人都可以指向链接(或解释)保持您在设计器中所做实体更改的最佳方式。 例如,我的列名是订单,我希望我的数据层中的标题是"订单号"。
我不想将标题改回"订单号"。每次我需要刷新数据模型时从订购,因为我需要一个新的列或表(或其他)。 这是否意味着我需要使用POCO? 或者有没有办法只刷新
a单表/实体?
抱歉 - 我不确定我理解 - 你能用"标题"来解释你的意思吗?你在哪里设置它?
从数据库中刷新模型不应该导致你丢失你对模型所做的任何自定义,这是该功能设计的原则之一
Can anyone point to a link (or explain) the best way to keep changes to your entities that you have made in the designer after you have created the model. For example, my column name is order and I want the caption in my datalayer to be "Order Number". I don't want to have to change the caption back to "Order Number" from order every time I need to refresh the datamodel because I need a new column or table (or whatever). Does this mean I need to use POCO? Or is there a way to just refresh a single table/entity?
Sorry - I'm not sure I understand - can you explain what you mean by "caption"? Where are you setting it?
Refreshing the model from the database should not cause you to lose any customizations you have made to the model, that was one of the principles of the design of the feature.
这篇关于列的标题持续存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!