RSS 2.0
 Monday, November 21, 2005


Thanks to a student, Jim Munn, for originally asking the question "When adding a property to an object that uses System.Collections.Generic.List<> the designer doesn't show a relation to the class that the generic collection is typed to. Why not?"

So, let's assume you have two classes: Customer and Order

Notice how, by default, the association is not displayed between the Customer and Order class. By right-clicking either the mOrders field or Orders property and selecting Show as Collection Association, the association will be visualized:

Monday, November 21, 2005 1:20:53 AM (Mountain Standard Time, UTC-07:00)  #    Comments [1] -
Microsoft | Team System | Visual Studio 2005
Thursday, June 05, 2008 5:26:28 PM (Mountain Daylight Time, UTC-06:00)
Can the class designer be set to show associations by default? Can it show properties as both associations and properties?

These would be nice features IMO.

Andrew
Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):

Archive
<January 2009>
SunMonTueWedThuFriSat
28293031123
45678910
11121314151617
18192021222324
25262728293031
1234567
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2009
Richard Hundhausen
Sign In
Statistics
Total Posts: 698
This Year: 0
This Month: 0
This Week: 0
Comments: 490
Themes
Pick a theme:
All Content © 2009, Richard Hundhausen
DasBlog theme 'Business' created by Christoph De Baene (delarou)