I used to have a situation where I hit the database a every time I needed information on an employee. Then I taught myself about data caching and have since cleared up that problem substantially.
Now, I'd like to take it to the next level. I'd like to reduce load times by caching my object instantiation. I'm not sure that I'm being clear, so I'll explain a little more. I have an employee object that (for example sake) has 50 properties. Some of those properties are generic lists of other related objects (such as a list of network assets belonging to that employee). So, when I instantiate an employee object for employee #30455, I don't have to hit the database (neccessarily) because that much is cached.
BUT, I do have to run down the property list, filling them with data from datarows from the cached dataset. I also have to populate those generic lists I chose to include at the head end. Seems like I should be able to cache that object so I don't have to do all of that over again. Thoughts?