You are not logged in.
Pages: 1
If I try to use CreateAndFillPrepare with a TAuthUser subclass that isn't in the model I get an exception as expected. But if I do the same with Retrieve it fails silently (returns false). Would be useful to have an exception here also.
Cheers, Bob
Offline
It is either one or the other.
If there is a result boolean, you just need to check the returned boolean value.
Since CreateAndFillPrepare is a constructor, we don't have any returned boolean value, so here an exception is needed.
Online
Yeah I was checking the return value but had missed that I'd declared the wrong subclass. The type of oversight that can take a while to spot :-)
Offline
Pages: 1