Hi Rob,
Since I didn't write that chapter I am not 100% sure, but I think these methods are indeed obsolete.
Their implementation returns a simple list with new DiaryEvent objects, but only their ID is set.
However, you could extend these methods to make them a bit more useful. Instead of setting just a simple ID, you can fill the entire DiaryEvent object. Similar code is used in chapters like the BugBase, although there not a custom collection is used, but something like List (Of Bug). But, the principle is the same: you can return strongly typed objects back to the calling code.
Hope this helps,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of
ASP.NET 2.0 Instant Results and
Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out
this post.