Wrox Programmer Forums
|
BOOK: Knight's Microsoft SQL Server 2012 Integration Services 24-Hour Trainer
This is the forum to discuss the Wrox book Knight's Microsoft SQL Server 2012 Integration Services 24-Hour Trainer by Brian Knight, Devin Knight, Mike Davis, Wayne Snyder; ISBN: 978-1-1184-7958-2
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Knight's Microsoft SQL Server 2012 Integration Services 24-Hour Trainer section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 1st, 2016, 03:01 PM
Registered User
 
Join Date: Apr 2016
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question Lesson 27 missing code

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.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Lesson 11 Try It - missing files tengen1010 BOOK: Knight's Microsoft Business Intelligence 24-Hour Trainer 1 September 8th, 2013 12:35 PM
Chapter 27: Modules And Handlers - Listing 27.2 Nikhil BOOK: Professional ASP.NET 3.5 : in C# and VB ISBN: 978-0-470-18757-9 0 February 4th, 2010 07:25 AM
where are the source code for Chapter 27 ? jamesxd BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 1 June 20th, 2008 08:23 AM
Beginning C# Source code(Chapter 27,28) jiguang_ma Wrox Book Feedback 0 December 15th, 2005 08:25 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.