Age | Commit message (Collapse) | Author |
|
|
|
|
|
subclassing of System.Data.ActiveRecord.TActiveRecordManager & System.Data.ActiveRecord.TActiveRecordGateway
|
|
© 2005-2008 PradoSoft => Copyright © 2005-2011 PradoSoft)
|
|
Beginning of Prado 3.2 development
|
|
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
|
|
|
|
|
|
|
|
|
|
TActiveRecord::finder().
|
|
|