Link to home
Start Free TrialLog in
Avatar of curiouswebster
curiouswebsterFlag for United States of America

asked on

Need to learn to read a Class Diagram

I can not read the attached Class Diagram.

Please describe the meaning of the various pointers and inter-relationships.

I am trying to understand View-Model-ViewModel and find it tricky...


Thanks,
newbieweb
ViewModelClassDiagram.png
Avatar of curiouswebster
curiouswebster
Flag of United States of America image

ASKER

Also, this demo project has a second Class Diagram which might explain the first...

Thanks,
newbieweb
ClassDiagram2.png
SOLUTION
Avatar of Meir Rivkin
Meir Rivkin
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I am interested in the English desriptions for the arrows, etc. which connect the charts.
It might help to know how to read the class diagram, if you include the source code that was used to generate the diagram...
Here is the link where I downloaded this MVVM demo from MS.

http://code.msdn.microsoft.com/mag200902MVVM/Release/ProjectReleases.aspx?ReleaseId=2026

I was trying to learn to read the class diagram so I could then understand the code:)
I have shifted my attention away from this demo to trying to get my Winforms app to use its first WPF form.

I could really use help on my other post:

https://www.experts-exchange.com/questions/26404120/Trouble-with-WPF-namespaces.html

if you get the chance.  I have trouble with the namespace.

Thanks.
I am going back to the tried and true WinForms and Visual Studio 2008.  I'm going to close out this question to save you all the time...

I find that an error in the XAML causes Visual Studio 2010 to hand and hang.  So I have no time right now for that steep learning curve.

Model-View-Presenter, WinForms, LINQ and Entity Framework wil have to do :)
Thanks.
I think that it is still a question worth answering, since I don't use the Class Diagram tool, so I don't know what those errors are referring to.

The CustomerViewModel has a private field (_customer), which depends on the Customer class.  That arrow is a dependency indicator between the two classes.

The AllCustomersViewModel.AllCustomers property is an ObservableCollection of CustomerViewModel, which is an association.