Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Factories in VB.Net
Message
From
26/11/2002 11:18:27
Rex Mahel
Realm Software, Llc
Ohio, United States
 
 
To
26/11/2002 11:07:49
General information
Forum:
ASP.NET
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00727041
Message ID:
00727058
Views:
9
Mike,

Does this allow using members created in the base class, but populated in the child class?

In my case I have a base business object that I subclass for my application. In the application class I populate the ConnectString property, but if I use the base class type, I can't see the connect string.

How can I do this?

TIA

Rex

>>How does a Factory Pattern work in VB.Net. If I must declare a variable type for the return value,what type do I use if multiple related types can be selected?
>
>You can use a common base class as a type, or, if they all implment the same Interface, I would use that. Interface Inheritiance is pretty cool. I imagine I will be using it at least as much as implementation Inheritiance, if not more.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform