如何添加新属性实体框架模型与mef扩展/插件吗?How we can add new properties to entity framework models with mef extensions/plugins?
I am writing an asp.net mvc application with MEF to extending the application features, my data access is created by entity framework. In my scenario i must have ability to extend entity framework models with plugins that retrived with mef.
Each plugin may have their own properties to be added to the specified model/models. I have searched and can't find much information on the issue, if any one has any idea pleas help me to solve it.
The question in address: Adding A Custom Property To Entity Framework? is very different from my question, i want to any property that added to model be stored in (and retrive from) the database. And, new properties in my scenario must added in run time and must be retrived with MEF in a plugin.
- Probem setElementAttribute在斯瓦特的使用参数Probem using parameters of setElementAttribute in swat
- 如何将MemoryCache内容转储到一个文件How to dump contents of MemoryCache to a file
- 如何将这个SQL查询Linq lambda表达式(暂停)How to convert this SQL query to Linq lambda expression [on hold]
- 如何阅读越来越多使用c#文件从linux机器How to read a growing file from a linux machine using c#
- 滚动FlowLayoutPanel程序吗?Scroll FlowLayoutPanel Programatically?
- 如何添加新属性实体框架模型与mef扩展/插件吗?How we can add new properties to entity framework models with mef extensions/plugins?
- 从文档在c#中阅读内容reading content from document in c#
- 线程不可见的资源监控运行时通过visual studio命令提示符Threads not visible in resource monitor when running through visual studio command prompt
- 添加新行,当印刷c#字符串数组 - Add new line when printing C# string array
- 正则表达式跳过某些字符Regex to skip certain characters
- 正则表达式识别字符串只是有特殊字符和空格Regex for identifying strings which just has special character and a white spaces