OpenPetra
Free Administration Software for Non-Profits
|
functions for data validation More...
Public Types | |
enum | TAutomDataValidationScope { advsAll , advsNotNullChecks , advsDateChecks , advsStringLengthChecks , advsNumberRangeChecks } |
Spefies the scopes of automatic data validation. More... | |
Static Public Member Functions | |
static bool | GenerateAutoValidationCodeForDBTableField (TTableField ADBField, TAutomDataValidationScope AScope, List< TConstraint >AConstraintsGroup, out string AReasonForAutomValidation) |
Determines whether automatic Data Validation code should be created for a certain DB Table Field. More... | |
functions for data validation
|
inlinestatic |
Determines whether automatic Data Validation code should be created for a certain DB Table Field.
ADBField | DB Field. |
AScope | Scope of the Data Validation that should be checked for. Specify TAutomDataValidationScope.advsAll to find out if any of the scopes should be checked against, or use any other value of that enum to specifiy a specific scope. |
AConstraintsGroup | The constraints for the table associated with this column. Can be null unless this is doing table validation rather than control validation |
AReasonForAutomValidation | Contains the reason why automatic data validation code needs to be generated. |