So far, the only way I have found is to use this inside the Person class:
protected string Color
{
get { return this.car == null ? "n\a" : this.car.Color; }
}
<property name="Color" access="readonly" />
This is fine until I have to denormalize something like 10 properties for
the Car object.
Is this the only available way?
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/nhusers/-/rvulloGFV6gJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en.