I'm stuck at the following code in "Try it" section:
Public Overrides Sub Input0_ProcessInputRow(ByVal Row As
Input0Buffer)
If IsDate(Row.DateFirstPurchase) = False Then
Row.DateFirstPurchase = Now
End If
If IsDate(Row.BirthDate) = True Then
Row.DirectRowToValidatedData()
Else
Row.DirectRowToBadData()
End If
End Sub
Apparently, those 2 Row.DirectRowTo___() functions are custom defined. The book did not mention anywhere.
In the downloadable content I found the definition in bufferwrapper.
vb:
Public Sub DirectRowToBadData()
MyBase.DirectRow("BadData")
End Sub
Public Sub DirectRowToValidatedData()
MyBase.DirectRow("ValidatedData")
End Sub
However I have no idea what "MyBase" is. Can you please explain it in more detail?
thanks.