I have two models, Unit and Building. In Unit, there is a BuildingId (a foreign key) field which ties to a Building object. I am writing a collection view to display all the Units. I also have a service method to get a building object based on its Id. I can display the BuildingId for each Unit in a label in the collection view. However, i don’t know how to display the Building.Name instead.
I am not sure if i am looking at the right direction because there seems to be an easy way of doing this. I am currently looking into extending a label class, and do customization in there?