diff options
author | godzilla80@gmx.net <> | 2009-05-10 10:51:52 +0000 |
---|---|---|
committer | godzilla80@gmx.net <> | 2009-05-10 10:51:52 +0000 |
commit | 5d276345aa8fc6eefed3793d59cc73ae0d0247b5 (patch) | |
tree | 68dd1b84da8a54cf2a99b65748f6a6dd2e45b7ea /framework/powered2.gif | |
parent | d0d261bec97595492a4d1da44121c6fb919ea2ed (diff) |
Fixed Issue #74
Introduce a new property 'InvalidFinderResult' (related new enum TActiveRecordInvalidFinderResult) to TActiveRecordConfig, TActiveRecordManager, TActiveRecord that allows to control how TActiveRecord react if an invalid magic-finder invoked.
Possible values are:
Exception - throw TActiveRecordException like before rev1545
Null - return null (default for backward compatibility reasons)
To change behavior:
<module class="System.Data.ActiveRecord.TActiveRecordConfig" InvalidFinderResult="Exception"/>
or
MyActiveRecord->setInvalidFinderResult(TActiveRecordInvalidFinderResult::Exception);
or
override MyActiveRecord->getInvalidFinderResult() to always return TActiveRecordInvalidFinderResult::Exception
Diffstat (limited to 'framework/powered2.gif')
0 files changed, 0 insertions, 0 deletions