OpenPetra
Free Administration Software for Non-Profits
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Pages
Ict.Petra.Server.MCommon.Validation.TCommonValidation Class Reference

Contains functions for the validation of MCommon DataTables. More...

Static Public Member Functions

static TVerificationResult IsValidInternationalPostalCode (string AInternatPostalTypeCode, string ADescription="", object AResultContext=null, System.Data.DataColumn AResultColumn=null)
 Checks whether an International Postal Type is valid. Null values are accepted. More...
 

Detailed Description

Contains functions for the validation of MCommon DataTables.

Member Function Documentation

◆ IsValidInternationalPostalCode()

static TVerificationResult Ict.Petra.Server.MCommon.Validation.TCommonValidation.IsValidInternationalPostalCode ( string  AInternatPostalTypeCode,
string  ADescription = "",
object  AResultContext = null,
System.Data.DataColumn  AResultColumn = null 
)
inlinestatic

Checks whether an International Postal Type is valid. Null values are accepted.

Parameters
AInternatPostalTypeCodeThe International Postal Type to check.
ADescriptionDescription what the value is about (for the error message).
AResultContextContext of verification (can be null).
AResultColumnWhich System.Data.DataColumn failed (can be null).
Returns
Null if AInternatPostalTypeCode is null, otherwise a TVerificationResult is returned that contains details about the problem, with a message that uses ADescription .

The documentation for this class was generated from the following file: