Is it possible to add a custom property in the designer and have it not bound to a column? I fiddled with the settings a bit settled on making a partial class with the property. Is there a way to show this field in the ORM designer?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
The LINQ-to-SQL designer is maintaining the mapping. Unmapped properties need to go in a separate partial class.
回答2:
In the Designer, right click on the Object Properties header and Add => Property.