Hi,
With 2.0.x I am used to loading data by pk like this:
Customer customer = new Customer("ALFKI");
if (customer.IsLoaded)
// the record was found ...
This doesn't work any more with Pakala - the Load method seems to set isLoaded to true even if the reader has no records. To make it work I need to modify the condition like this:
if (customer.IsLoaded && !customer.IsNew)
I looked into the code and it looks like this was changed to support partial loads. Still, however, if there are no records returned I think isLoad should stay false. What do you guys think?
Shall I post a fix for this?
Martin