View Single Post
  #1 (permalink)  
Old July 31st, 2009, 11:45 AM
majikmerlin majikmerlin is offline
Registered User
Join Date: Jul 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Need clarification for Errata (pg44) Chapter 2

The Errata for page 44 states this:

Error in Code
The Select() and Select(int id) methods should call the HRPaidTimeOffDataContext that takes a connection string:

using (HRPaidTimeOffDataContext db = new
HRPaidTimeOffDataContext(DBHelper.GetHRPaidTimeOff ConnectionString()))

I am unsure as to where DBHelper.GetHRPaidTimeOffConnectionString() in the 'using' statement has come from? In the context of Chapter 2, I do not recall DBHelper object being mentioned let alone a method called GetHRPaidTimeOffConnectionString().

What's going on here, or am I missing something blatantly obvious because at this point, the errata seems makes things somewhat confusing.