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

This is an address line which consists of address elements. Used along with p_address_layout and p_address_element to define layout of an address for different countries. More...

Static Public Member Functions

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

Detailed Description

This is an address line which consists of address elements. Used along with p_address_layout and p_address_element to define layout of an address for different countries.

Member Function Documentation

◆ Validate() [1/2]

static void Ict.Petra.Server.MPartner.Mailroom.Validation.PAddressLineValidation.Validate ( object  AContext,
PAddressLineRow  ARow,
ref TVerificationResultCollection  AVerificationResultCollection 
)
inlinestatic

Validates a row in the PAddressLine 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.Mailroom.Validation.PAddressLineValidation.Validate ( TTypedDataTable  ASubmitTable,
ref TVerificationResultCollection  AVerificationResult 
)
inlinestatic

Validates the PAddressLine 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: