OpenPetra
Free Administration Software for Non-Profits
Ict.Petra.Server.MPartner.Partner.Validation.PPartnerAttributeValidation Class Reference

Mainly introduced for Partner Contact Details like email addresses and (mobile) phone numbers, but can be used for any attribute we might want to save for a Partner. More...

Static Public Member Functions

static void Validate (object AContext, PPartnerAttributeRow ARow, ref TVerificationResultCollection AVerificationResultCollection)
 Validates a row in the PPartnerAttribute DataTable. More...
 
static void Validate (TTypedDataTable ASubmitTable, ref TVerificationResultCollection AVerificationResult)
 Validates the PPartnerAttribute DataTable. More...
 

Detailed Description

Mainly introduced for Partner Contact Details like email addresses and (mobile) phone numbers, but can be used for any attribute we might want to save for a Partner.

Member Function Documentation

◆ Validate() [1/2]

static void Ict.Petra.Server.MPartner.Partner.Validation.PPartnerAttributeValidation.Validate ( object  AContext,
PPartnerAttributeRow  ARow,
ref TVerificationResultCollection  AVerificationResultCollection 
)
inlinestatic

Validates a row in the PPartnerAttribute DataTable.

Parameters
AContextContext that describes where the data validation failed.
ARowThe DataRow which holds the the data against which the validation is run.
AVerificationResultCollectionWill be filled with any TVerificationResult items if data validation errors occur.

◆ Validate() [2/2]

static void Ict.Petra.Server.MPartner.Partner.Validation.PPartnerAttributeValidation.Validate ( TTypedDataTable  ASubmitTable,
ref TVerificationResultCollection  AVerificationResult 
)
inlinestatic

Validates the PPartnerAttribute DataTable.

Parameters
ASubmitTablevalidate all rows in this table
AVerificationResultWill be filled with any TVerificationResult items if data validation errors occur.

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