View Single Post
  #1 (permalink)  
Old October 3rd, 2005, 02:24 AM
ejbrown ejbrown is offline
Registered User
Join Date: Oct 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default VB.Net Scalability Handbook

I have studied the MyInvestmentWatch sample thoroughly and would like to ask what is the most elegant way to retrieve only the stocks added within the past month rather than load all the stocks in the preferred
stocks property of the user objects. Ideally I would like to have a dropdown list that will allow the user once logged in to choose what part of the portfolio to add. For example,
1) all stocks
2) stocks purchased within the past month
3) stock with over 500 shares etc.

I think this is more realistic than loaded every stock purchased. However, writing the stored procedures etc. are easy but how do you extend the interfaces without breaking existing applications? I was thinking of overloading the methods with a parameter that specifies how much of the data to load.

Any ideas.