O'Reilly logo

Visual Basic® .NET by Example by Bob Donald, Gabriel Oancea

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Relations

Most of the classes used as examples in the book so far were very simple. To keep things as clear as possible we have removed any unnecessary features (unnecessary from the point of view of the example we were presenting). This included in most cases any relations between classes.

Relations can be looked at from two different points of view. From a practical, hands-on view a relation is a connection between a number of objects or classes. For example a purchase order has items. The word has indicates the relationship between the two entities: the purchase order and the items ordered. Each item in the order refers to a product (that is, what the item is). The refers to is also a relation between the order item class and a product class. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required