开发者

How can you represent a .NET DataType in a UML Diagram

开发者 https://www.devze.com 2023-01-02 20:46 出处:网络
I am new to UML diagramming, but I\'m 开发者_开发技巧trying to learn the ropes.Using a tool such as Visio or AgroUML how would you represent a .NET Datatype in your diagram?Two examples that I would l

I am new to UML diagramming, but I'm 开发者_开发技巧trying to learn the ropes. Using a tool such as Visio or AgroUML how would you represent a .NET Datatype in your diagram? Two examples that I would like to do:

DataTable
List<MyObject>

The only method I see right now is creating a class that represents a datatable. As far as representing collections, I can't find any method to do that.

Thanks!


In UML, you should use an aggregation symbol (the diamond: <>)to represent a collection of objects. A DataTable would be a class in your diagram.

0

精彩评论

暂无评论...
验证码 换一张
取 消