首页 > 其他 > 详细

Entity Framework Tutorial Basics(42):Colored Entity

时间:2016-07-07 12:38:19      阅读:207      评论:0      收藏:0      [点我收藏+]

Colored Entity in Entity Framework 5.0

You can change the color of an entity in the designer so that it would be easy to see related groups of entities in the designer from Visual Studio 2012 onwards. To change the color of an entity, select entity in the designer → go to property window (press F4) → change the Fill Color property. For example:

技术分享

To change the color of multiple entities at once, select multiple entities and change Fill Color from the property window:

Additionally, you can also change the property format of entities to either Display name or Display name and type. Right click on designer → select ‘Scalar Property format‘ → select ‘Display Name and Type‘:

技术分享

Properties will be displayed with its type as shown below:

技术分享

This way, you can change the color and display of entities in the EDM designer.

Entity Framework Tutorial Basics(42):Colored Entity

原文:http://www.cnblogs.com/purplefox2008/p/5649477.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!