Y
Yankee Imperialist Dog
Polymorphic question.
I have a single solution with multiple projects. Using abstract base classes
in the Business Objects layer I’m creating multiple derived classes in say
the DAL. I’m running into an issue where I can’t get around having to load
the assembly to reflect, and get the type. What I’m doing is attempting to
pass a string representing the derived class to be loaded into a list of type
base class, hence the need to load the dll.
There has to be a better way (I hope)
I have a single solution with multiple projects. Using abstract base classes
in the Business Objects layer I’m creating multiple derived classes in say
the DAL. I’m running into an issue where I can’t get around having to load
the assembly to reflect, and get the type. What I’m doing is attempting to
pass a string representing the derived class to be loaded into a list of type
base class, hence the need to load the dll.
There has to be a better way (I hope)