1
1388-2/HB
Public Class IAmADataRow
Inherits System.Data.DataRow
Public Sub StandOnYourHead()
'this code has to be the same as
IDoNotNeedToBeADataRow.StandOnYourHead
End Sub
End Class
Public Class IDoNotNeedToBeADataRow
Public Sub StandOnYourHead()
'this code has to be the same as IAmADataRow.StandOnYourHead
End Sub
End Class
My question is, in order to avoid the maintenance issue of maintaining
"StandOnYourHead" in two places, am I essentially forced to inherit from
DataRow in the "IDoNotNeedToBeADataRow" Class?
Inherits System.Data.DataRow
Public Sub StandOnYourHead()
'this code has to be the same as
IDoNotNeedToBeADataRow.StandOnYourHead
End Sub
End Class
Public Class IDoNotNeedToBeADataRow
Public Sub StandOnYourHead()
'this code has to be the same as IAmADataRow.StandOnYourHead
End Sub
End Class
My question is, in order to avoid the maintenance issue of maintaining
"StandOnYourHead" in two places, am I essentially forced to inherit from
DataRow in the "IDoNotNeedToBeADataRow" Class?