OpenPetra
Free Administration Software for Non-Profits
|
Class for general verifications that are needed both on Server and Client side. More...
Static Public Member Functions | |
static TVerificationResult | ValueMustNotBeNull (object AValue, string ADescription, object AResultContext=null, System.Data.DataColumn AResultColumn=null) |
Checks whether an Object is null. More... | |
static TVerificationResult | ValueMustNotBeNullOrEmptyString (object AValue, string ADescription, object AResultContext=null, System.Data.DataColumn AResultColumn=null) |
Checks whether an Object is null value or empty string. More... | |
Class for general verifications that are needed both on Server and Client side.
None of the data verifications in here must access the database since the Client doesn't have access to the database!
|
inlinestatic |
Checks whether an Object is null.
AValue | The Object to check. |
ADescription | Description what the value is about (for the error message). |
AResultContext | Context of verification (can be null). |
AResultColumn | Which System.Data.DataColumn failed (can be null). |
|
inlinestatic |
Checks whether an Object is null value or empty string.
AValue | The Object to check. |
ADescription | Description what the value is about (for the error message). |
AResultContext | Context of verification (can be null). |
AResultColumn | Which System.Data.DataColumn failed (can be null). |