In the below mockup, how do I find out, if I am an instance of FooDAL or WeeDAL from within the method DoMagix()?
Public MustInherit Class DataAccessClass
Public Sub DoMagix()
'** LOOK AT ME!!! **
'Who am I? Why am I here? Where am I going?
'** /LOOK AT ME!!! **
End Sub
End Class
Public Class FooDAL
Inherits DataAccessClass
End Class
Public Class WeeDAL
Inherits DataAccessClass
End Class
My OO-skills are teh suck, so if I get the terminology wrong, please slap me and set me straigth (in that order plz).