NOODB: The next step

I’m constantly changing the order in which I plan to do things, so this may change.

In the previous example, AUTHOR is an AUTHOR object. The key to AUTHOR is NAME.

I’m going to make it so that a simple property can be the key value of a particular object type without specifying the whole object.

            MovieReview2 x = new MovieReview2
            {
                Author = "Jay"
            };

Then, we just have to say “MovieReview2.Author refers to Author.Name”.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: