PeopleSoft Adoption Made Smooth & Simple!
On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool. Claim Your Free WalkMe Account Now
Public Class GenericCache Inherits System.Collections.CollectionBase Dim pStartDate, pEndDate As DateTime Private Sub Add(ByVal cSalesData As SalesData) Me.List.Add(cSalesData) End Sub Sub AddData() Me.Add(New SalesData("2001-01-01", "2001-01-02")) Me.Add(New SalesData("2001-01-02", "2001-01-03")) Me.Add(New SalesData("2001-01-04", "2001-01-05")) End Sub End Class Public Class CachedSalesData Inherits GenericCache 'properties and methods particular to SalesCache End Class Public Class CachedOrdersData Inherits GenericCache 'properties and methods particular to OrdersCache End Class Public Class SalesData Public Sub New(StartDate As DateTime, EndDate As DateTime) 'Looks up Sales for dates supplied End Sub End Class Public Class OrdersData Public Sub New(StartDate As DateTime, EndDate As DateTime) 'Looks up Orders for dates supplied End Sub End Class
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|VB.Net error: An exception occurred during a WebClient request||6||60|
|vb.net Configuration, settings file location?||8||62|
|Help with viewing definition of acronym when placing mouse on a row of a listbox||6||44|
|In VB.Net trying to download Sharepoint List to Excel and getting errors.||2||34|
Join the community of 500,000 technology professionals and ask your questions.