码迷,mamicode.com
首页 > 其他好文 > 详细

Entity Framework Tutorial Basics(42):Colored Entity

时间:2016-07-07 12:38:34      阅读:195      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!