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.
|