向实体属性添加属性 [英] Adding attributes to entity properties

查看:94
本文介绍了向实体属性添加属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿所有人。


解决方案

现在很难做到这一点 - 你可以在这里阅读如何做到这一点:
http: //blogs.msdn.com/adonet/archive/2008/01/24/customizing-code-generation-in-the-ado-net-entity-designer.aspx

在在EF的下一个版本中,我们将切换到基于T4的代码生成,这将允许更简单的代码生成过程定制。

HTH,
Noam


Hey all.


解决方案

Right now it is fairly difficult to do this - you can read about how to do it here:
http://blogs.msdn.com/adonet/archive/2008/01/24/customizing-code-generation-in-the-ado-net-entity-designer.aspx

In the next release of the EF, we will switch to T4-based code generation, which will allow much simpler customization of the code generation process.

HTH,
 Noam


这篇关于向实体属性添加属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆