OpenPetra
Free Administration Software for Non-Profits
Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable Class Reference
Inheritance diagram for Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable:
Ict.Common.Data.TTypedDataTable

Public Member Functions

 IndividualDataTDSSummaryDataTable ()
 constructor More...
 
 IndividualDataTDSSummaryDataTable (string ATablename)
 constructor More...
 
 IndividualDataTDSSummaryDataTable (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
 constructor for serialization More...
 
override void InitVars ()
 assign columns to properties, set primary key More...
 
IndividualDataTDSSummaryDataRow NewRowTyped (bool AWithDefaultValues)
 create a new typed row More...
 
IndividualDataTDSSummaryDataRow NewRowTyped ()
 create a new typed row, always with default values More...
 
IndividualDataTDSSummaryDataTable GetChangesTyped ()
 get typed set of changes More...
 
override OdbcParameter CreateOdbcParameter (Int32 AColumnNr)
 get an odbc parameter for the given column More...
 
new DataTable GetChanges ()
 make sure that we use GetChangesType instead of GetChanges More...
 
virtual string GetCustomReportPermission ()
 string to indicate which permissions a user needs to access table for custom reports (e.g. "PTNRUSER", "OR(FINANCE-1,DEVUSER)", "AND(PTNRUSER,FINANCE-1)" This should be returned by method in derived class More...
 
virtual bool IsAvailableForCustomReport ()
 Is this table generally available in custom reports? More...
 
virtual List< String > GetCustomReportFieldList ()
 Return a list of fields that are available for custom reports More...
 
DataTable GetChangesTypedInternal ()
 our own version of GetChanges More...
 
void RemoveColumnsNotInTableTemplate (DataTable ATableTemplate)
 remove columns that are not needed More...
 

Static Public Member Functions

static string GetTableName ()
 return the CamelCase name of the table More...
 
static string GetTableDBName ()
 return the name of the table as it is used in the database More...
 
static string GetTableDBLabel ()
 static method to return the 'Label' of the table as it is used in the database (the 'Label' is usually a short description of what the db table is about) More...
 
static string GetPartnerKeyDBName ()
 get the name of the field in the database for this column More...
 
static short GetPartnerKeyLength ()
 get character length for column More...
 
static string GetPartnerKeyHelp ()
 get the help text for the field in the database for this column More...
 
static string GetDateOfBirthDBName ()
 get the name of the field in the database for this column More...
 
static short GetDateOfBirthLength ()
 get character length for column More...
 
static string GetDateOfBirthHelp ()
 get the help text for the field in the database for this column More...
 
static string GetGenderDBName ()
 get the name of the field in the database for this column More...
 
static short GetGenderLength ()
 get character length for column More...
 
static string GetGenderHelp ()
 get the help text for the field in the database for this column More...
 
static string GetMaritalStatusDBName ()
 get the name of the field in the database for this column More...
 
static short GetMaritalStatusLength ()
 get character length for column More...
 
static string GetMaritalStatusHelp ()
 get the help text for the field in the database for this column More...
 
static string GetNationalitiesDBName ()
 get the name of the field in the database for this column More...
 
static short GetNationalitiesLength ()
 get character length for column More...
 
static string GetNationalitiesHelp ()
 get the help text for the field in the database for this column More...
 
static string GetPrimaryPhoneNumberDBName ()
 get the name of the field in the database for this column More...
 
static short GetPrimaryPhoneNumberLength ()
 get character length for column More...
 
static string GetPrimaryPhoneNumberHelp ()
 get the help text for the field in the database for this column More...
 
static string GetPrimaryEmailAddressDBName ()
 get the name of the field in the database for this column More...
 
static short GetPrimaryEmailAddressLength ()
 get character length for column More...
 
static string GetPrimaryEmailAddressHelp ()
 get the help text for the field in the database for this column More...
 
static string GetChurchNameDBName ()
 get the name of the field in the database for this column More...
 
static short GetChurchNameLength ()
 get character length for column More...
 
static string GetChurchNameHelp ()
 get the help text for the field in the database for this column More...
 
static string GetChurchAddressDBName ()
 get the name of the field in the database for this column More...
 
static short GetChurchAddressLength ()
 get character length for column More...
 
static string GetChurchAddressHelp ()
 get the help text for the field in the database for this column More...
 
static string GetChurchPrimaryPhoneNumberDBName ()
 get the name of the field in the database for this column More...
 
static short GetChurchPrimaryPhoneNumberLength ()
 get character length for column More...
 
static string GetChurchPrimaryPhoneNumberHelp ()
 get the help text for the field in the database for this column More...
 
static string GetChurchPastorDBName ()
 get the name of the field in the database for this column More...
 
static short GetChurchPastorLength ()
 get character length for column More...
 
static string GetChurchPastorHelp ()
 get the help text for the field in the database for this column More...
 
static string GetChurchPastorsPrimaryPhoneNumberDBName ()
 get the name of the field in the database for this column More...
 
static short GetChurchPastorsPrimaryPhoneNumberLength ()
 get character length for column More...
 
static string GetChurchPastorsPrimaryPhoneNumberHelp ()
 get the help text for the field in the database for this column More...
 
static string GetNumberOfShownSupportingChurchPastorsDBName ()
 get the name of the field in the database for this column More...
 
static short GetNumberOfShownSupportingChurchPastorsLength ()
 get character length for column More...
 
static string GetNumberOfShownSupportingChurchPastorsHelp ()
 get the help text for the field in the database for this column More...
 
static string GetNumberOfShownSupportingChurchesDBName ()
 get the name of the field in the database for this column More...
 
static short GetNumberOfShownSupportingChurchesLength ()
 get character length for column More...
 
static string GetNumberOfShownSupportingChurchesHelp ()
 get the help text for the field in the database for this column More...
 
static OdbcParameter CreateOdbcParameter (short ATableNumber, TSearchCriteria ASearchCriteria)
 create an odbc parameter for the given column More...
 
static OdbcParameter CreateOdbcParameter (short ATableNumber, Int32 AColumnNr)
 create an odbc parameter for the given column More...
 
static void ResetStaticVariables ()
 reset the static variables for each Web Request call. More...
 
static string GetTableNameSQL (short ATableNumber)
 the table name as it is in the SQL database More...
 
static string GetTableName (short ATableNumber)
 the table name in CamelCase More...
 
static TTypedTableInfo GetTableByName (string ATableName)
 the table name in CamelCase More...
 
static string GetColumnNameSQL (short ATableNumber, short AColumnNr)
 the column name as it is in the SQL database More...
 
static string GetLabel (short ATableNumber, short AColumnNr)
 returns the translated label for the column More...
 
static Int32 GetLength (short ATableNumber, short AColumnNr)
 get the maximum length for the field More...
 
static Int32 GetLength (string ATableName, string AColumnName)
 get the maximum length for the field More...
 
static string[] GetKeyColumnStringList (short ATableNumber, int[] AKeyColumnsOrder)
 get the names of the columns that are part of the key More...
 
static string[] GetPrimaryKeyColumnStringList (short ATableNumber)
 get the names of the columns that are part of the primary key More...
 
static string[] GetUniqueKeyColumnStringList (short ATableNumber)
 get the names of the columns that are part of the unique key More...
 
static int[] GetPrimaryKeyColumnOrdList (short ATableNumber)
 get the order number of the columns that are part of the primary key More...
 
static int[] GetUniqueKeyColumnOrdList (short ATableNumber)
 get the order number of the columns that are part of a unique key More...
 
static string[] GetColumnStringList (short ATableNumber)
 get the names of the columns in this table More...
 

Public Attributes

DataColumn ColumnPartnerKey
 This is the partner key assigned to each partner. It consists of the fund id followed by a computer generated six digit number. More...
 
DataColumn ColumnDateOfBirth
 This is the date the person was born. More...
 
DataColumn ColumnGender
 
DataColumn ColumnMaritalStatus
 
DataColumn ColumnNationalities
 Nationality/Nationalities of the PERSON (taken from his-her Passports) More...
 
DataColumn ColumnPrimaryPhoneNumber
 Primary Phone Number of the PERSON. More...
 
DataColumn ColumnPrimaryEmailAddress
 Primary E-mail Address of the PERSON. More...
 
DataColumn ColumnChurchName
 Name of a supporting church of the PERSON. More...
 
DataColumn ColumnChurchAddress
 Address of this supporting church of the PERSON. More...
 
DataColumn ColumnChurchPrimaryPhoneNumber
 Primary Phone of this supporting church of the PERSON. More...
 
DataColumn ColumnChurchPastor
 Pastor of this supporting church of the PERSON. More...
 
DataColumn ColumnChurchPastorsPrimaryPhoneNumber
 Primary Phone of this pastor of this supporting church of the PERSON. More...
 
DataColumn ColumnNumberOfShownSupportingChurchPastors
 Number of pastors at this supporting church of the PERSON. More...
 
DataColumn ColumnNumberOfShownSupportingChurches
 Number of supporting churches of the PERSON. More...
 
bool ThrowAwayAfterSubmitChanges = false
 if you want the datatable to be cleared after submitchanges. This will increase the speed significantly: no updating of modificationID, no slow AcceptChanges. More...
 
bool DontThrowAwayAfterSubmitChanges = false
 if you want no warning about that the datatable should be cleared after submitchanges. in some cases you must keep the data, eg when you need the new keys after INSERT More...
 

Static Public Attributes

static readonly short TableId = 5205
 TableId for Ict.Common.Data generic functions. More...
 
static readonly short ColumnPartnerKeyId = 0
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnDateOfBirthId = 1
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnGenderId = 2
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnMaritalStatusId = 3
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnNationalitiesId = 4
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnPrimaryPhoneNumberId = 5
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnPrimaryEmailAddressId = 6
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnChurchNameId = 7
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnChurchAddressId = 8
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnChurchPrimaryPhoneNumberId = 9
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnChurchPastorId = 10
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnChurchPastorsPrimaryPhoneNumberId = 11
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnNumberOfShownSupportingChurchPastorsId = 12
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnNumberOfShownSupportingChurchesId = 13
 used for generic TTypedDataTable functions More...
 

Protected Member Functions

override void InitClass ()
 create the columns More...
 
override System.Data.DataRow NewRowFromBuilder (System.Data.DataRowBuilder builder)
 new typed row using DataRowBuilder More...
 

Static Protected Attributes

static SortedList< short, TTypedTableInfoTableInfo = new SortedList <short, TTypedTableInfo>()
 stores information about typed tables More...
 

Properties

IndividualDataTDSSummaryDataRow this[int i] [get]
 Access a typed row by index. More...
 
override string TableDBLabel [get]
 instance property to get the 'Label' of the table as it is used in the database (the 'Label' is usually a short description of what the db table is about) More...
 
int Count [get]
 the number of rows in the current table More...
 

Constructor & Destructor Documentation

◆ IndividualDataTDSSummaryDataTable() [1/3]

Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.IndividualDataTDSSummaryDataTable ( )
inline

constructor

◆ IndividualDataTDSSummaryDataTable() [2/3]

Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.IndividualDataTDSSummaryDataTable ( string  ATablename)
inline

constructor

◆ IndividualDataTDSSummaryDataTable() [3/3]

Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.IndividualDataTDSSummaryDataTable ( System.Runtime.Serialization.SerializationInfo  info,
System.Runtime.Serialization.StreamingContext  context 
)
inline

constructor for serialization

Member Function Documentation

◆ CreateOdbcParameter() [1/3]

override OdbcParameter Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.CreateOdbcParameter ( Int32  AColumnNr)
inlinevirtual

get an odbc parameter for the given column

Implements Ict.Common.Data.TTypedDataTable.

◆ CreateOdbcParameter() [2/3]

static OdbcParameter Ict.Common.Data.TTypedDataTable.CreateOdbcParameter ( short  ATableNumber,
Int32  AColumnNr 
)
inlinestaticinherited

create an odbc parameter for the given column

◆ CreateOdbcParameter() [3/3]

static OdbcParameter Ict.Common.Data.TTypedDataTable.CreateOdbcParameter ( short  ATableNumber,
TSearchCriteria  ASearchCriteria 
)
inlinestaticinherited

create an odbc parameter for the given column

◆ GetChanges()

new DataTable Ict.Common.Data.TTypedDataTable.GetChanges ( )
inlineinherited

make sure that we use GetChangesType instead of GetChanges

Returns
throws an exception

◆ GetChangesTyped()

IndividualDataTDSSummaryDataTable Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetChangesTyped ( )
inline

get typed set of changes

◆ GetChangesTypedInternal()

DataTable Ict.Common.Data.TTypedDataTable.GetChangesTypedInternal ( )
inlineinherited

our own version of GetChanges

Returns
returns a typed table with the changes

◆ GetChurchAddressDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetChurchAddressDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetChurchAddressHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetChurchAddressHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetChurchAddressLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetChurchAddressLength ( )
inlinestatic

get character length for column

◆ GetChurchNameDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetChurchNameDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetChurchNameHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetChurchNameHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetChurchNameLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetChurchNameLength ( )
inlinestatic

get character length for column

◆ GetChurchPastorDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetChurchPastorDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetChurchPastorHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetChurchPastorHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetChurchPastorLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetChurchPastorLength ( )
inlinestatic

get character length for column

◆ GetChurchPastorsPrimaryPhoneNumberDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetChurchPastorsPrimaryPhoneNumberDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetChurchPastorsPrimaryPhoneNumberHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetChurchPastorsPrimaryPhoneNumberHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetChurchPastorsPrimaryPhoneNumberLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetChurchPastorsPrimaryPhoneNumberLength ( )
inlinestatic

get character length for column

◆ GetChurchPrimaryPhoneNumberDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetChurchPrimaryPhoneNumberDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetChurchPrimaryPhoneNumberHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetChurchPrimaryPhoneNumberHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetChurchPrimaryPhoneNumberLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetChurchPrimaryPhoneNumberLength ( )
inlinestatic

get character length for column

◆ GetColumnNameSQL()

static string Ict.Common.Data.TTypedDataTable.GetColumnNameSQL ( short  ATableNumber,
short  AColumnNr 
)
inlinestaticinherited

the column name as it is in the SQL database

◆ GetColumnStringList()

static string[] Ict.Common.Data.TTypedDataTable.GetColumnStringList ( short  ATableNumber)
inlinestaticinherited

get the names of the columns in this table

◆ GetCustomReportFieldList()

virtual List< String > Ict.Common.Data.TTypedDataTable.GetCustomReportFieldList ( )
inlinevirtualinherited

Return a list of fields that are available for custom reports

◆ GetCustomReportPermission()

virtual string Ict.Common.Data.TTypedDataTable.GetCustomReportPermission ( )
inlinevirtualinherited

string to indicate which permissions a user needs to access table for custom reports (e.g. "PTNRUSER", "OR(FINANCE-1,DEVUSER)", "AND(PTNRUSER,FINANCE-1)" This should be returned by method in derived class

◆ GetDateOfBirthDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetDateOfBirthDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetDateOfBirthHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetDateOfBirthHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetDateOfBirthLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetDateOfBirthLength ( )
inlinestatic

get character length for column

◆ GetGenderDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetGenderDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetGenderHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetGenderHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetGenderLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetGenderLength ( )
inlinestatic

get character length for column

◆ GetKeyColumnStringList()

static string[] Ict.Common.Data.TTypedDataTable.GetKeyColumnStringList ( short  ATableNumber,
int[]  AKeyColumnsOrder 
)
inlinestaticinherited

get the names of the columns that are part of the key

◆ GetLabel()

static string Ict.Common.Data.TTypedDataTable.GetLabel ( short  ATableNumber,
short  AColumnNr 
)
inlinestaticinherited

returns the translated label for the column

◆ GetLength() [1/2]

static Int32 Ict.Common.Data.TTypedDataTable.GetLength ( short  ATableNumber,
short  AColumnNr 
)
inlinestaticinherited

get the maximum length for the field

◆ GetLength() [2/2]

static Int32 Ict.Common.Data.TTypedDataTable.GetLength ( string  ATableName,
string  AColumnName 
)
inlinestaticinherited

get the maximum length for the field

◆ GetMaritalStatusDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetMaritalStatusDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetMaritalStatusHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetMaritalStatusHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetMaritalStatusLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetMaritalStatusLength ( )
inlinestatic

get character length for column

◆ GetNationalitiesDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetNationalitiesDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetNationalitiesHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetNationalitiesHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetNationalitiesLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetNationalitiesLength ( )
inlinestatic

get character length for column

◆ GetNumberOfShownSupportingChurchesDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetNumberOfShownSupportingChurchesDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetNumberOfShownSupportingChurchesHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetNumberOfShownSupportingChurchesHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetNumberOfShownSupportingChurchesLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetNumberOfShownSupportingChurchesLength ( )
inlinestatic

get character length for column

◆ GetNumberOfShownSupportingChurchPastorsDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetNumberOfShownSupportingChurchPastorsDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetNumberOfShownSupportingChurchPastorsHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetNumberOfShownSupportingChurchPastorsHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetNumberOfShownSupportingChurchPastorsLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetNumberOfShownSupportingChurchPastorsLength ( )
inlinestatic

get character length for column

◆ GetPartnerKeyDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetPartnerKeyDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetPartnerKeyHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetPartnerKeyHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetPartnerKeyLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetPartnerKeyLength ( )
inlinestatic

get character length for column

◆ GetPrimaryEmailAddressDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetPrimaryEmailAddressDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetPrimaryEmailAddressHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetPrimaryEmailAddressHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetPrimaryEmailAddressLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetPrimaryEmailAddressLength ( )
inlinestatic

get character length for column

◆ GetPrimaryKeyColumnOrdList()

static int[] Ict.Common.Data.TTypedDataTable.GetPrimaryKeyColumnOrdList ( short  ATableNumber)
inlinestaticinherited

get the order number of the columns that are part of the primary key

◆ GetPrimaryKeyColumnStringList()

static string[] Ict.Common.Data.TTypedDataTable.GetPrimaryKeyColumnStringList ( short  ATableNumber)
inlinestaticinherited

get the names of the columns that are part of the primary key

◆ GetPrimaryPhoneNumberDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetPrimaryPhoneNumberDBName ( )
inlinestatic

get the name of the field in the database for this column

◆ GetPrimaryPhoneNumberHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetPrimaryPhoneNumberHelp ( )
inlinestatic

get the help text for the field in the database for this column

◆ GetPrimaryPhoneNumberLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetPrimaryPhoneNumberLength ( )
inlinestatic

get character length for column

◆ GetTableByName()

static TTypedTableInfo Ict.Common.Data.TTypedDataTable.GetTableByName ( string  ATableName)
inlinestaticinherited

the table name in CamelCase

◆ GetTableDBLabel()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetTableDBLabel ( )
inlinestatic

static method to return the 'Label' of the table as it is used in the database (the 'Label' is usually a short description of what the db table is about)

◆ GetTableDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetTableDBName ( )
inlinestatic

return the name of the table as it is used in the database

◆ GetTableName() [1/2]

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.GetTableName ( )
inlinestatic

return the CamelCase name of the table

◆ GetTableName() [2/2]

static string Ict.Common.Data.TTypedDataTable.GetTableName ( short  ATableNumber)
inlinestaticinherited

the table name in CamelCase

◆ GetTableNameSQL()

static string Ict.Common.Data.TTypedDataTable.GetTableNameSQL ( short  ATableNumber)
inlinestaticinherited

the table name as it is in the SQL database

◆ GetUniqueKeyColumnOrdList()

static int[] Ict.Common.Data.TTypedDataTable.GetUniqueKeyColumnOrdList ( short  ATableNumber)
inlinestaticinherited

get the order number of the columns that are part of a unique key

◆ GetUniqueKeyColumnStringList()

static string[] Ict.Common.Data.TTypedDataTable.GetUniqueKeyColumnStringList ( short  ATableNumber)
inlinestaticinherited

get the names of the columns that are part of the unique key

◆ InitClass()

override void Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.InitClass ( )
inlineprotectedvirtual

create the columns

Implements Ict.Common.Data.TTypedDataTable.

◆ InitVars()

override void Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.InitVars ( )
inlinevirtual

assign columns to properties, set primary key

Implements Ict.Common.Data.TTypedDataTable.

◆ IsAvailableForCustomReport()

virtual bool Ict.Common.Data.TTypedDataTable.IsAvailableForCustomReport ( )
inlinevirtualinherited

Is this table generally available in custom reports?

◆ NewRowFromBuilder()

override System.Data.DataRow Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.NewRowFromBuilder ( System.Data.DataRowBuilder  builder)
inlineprotected

new typed row using DataRowBuilder

◆ NewRowTyped() [1/2]

IndividualDataTDSSummaryDataRow Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.NewRowTyped ( )
inline

create a new typed row, always with default values

◆ NewRowTyped() [2/2]

IndividualDataTDSSummaryDataRow Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.NewRowTyped ( bool  AWithDefaultValues)
inline

create a new typed row

◆ RemoveColumnsNotInTableTemplate()

void Ict.Common.Data.TTypedDataTable.RemoveColumnsNotInTableTemplate ( DataTable  ATableTemplate)
inlineinherited

remove columns that are not needed

Parameters
ATableTemplatethis table only contains the columns that should be kept

◆ ResetStaticVariables()

static void Ict.Common.Data.TTypedDataTable.ResetStaticVariables ( )
inlinestaticinherited

reset the static variables for each Web Request call.

Member Data Documentation

◆ ColumnChurchAddress

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.ColumnChurchAddress

Address of this supporting church of the PERSON.

◆ ColumnChurchAddressId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.ColumnChurchAddressId = 8
static

used for generic TTypedDataTable functions

◆ ColumnChurchName

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.ColumnChurchName

Name of a supporting church of the PERSON.

◆ ColumnChurchNameId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.ColumnChurchNameId = 7
static

used for generic TTypedDataTable functions

◆ ColumnChurchPastor

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.ColumnChurchPastor

Pastor of this supporting church of the PERSON.

◆ ColumnChurchPastorId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.ColumnChurchPastorId = 10
static

used for generic TTypedDataTable functions

◆ ColumnChurchPastorsPrimaryPhoneNumber

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.ColumnChurchPastorsPrimaryPhoneNumber

Primary Phone of this pastor of this supporting church of the PERSON.

◆ ColumnChurchPastorsPrimaryPhoneNumberId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.ColumnChurchPastorsPrimaryPhoneNumberId = 11
static

used for generic TTypedDataTable functions

◆ ColumnChurchPrimaryPhoneNumber

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.ColumnChurchPrimaryPhoneNumber

Primary Phone of this supporting church of the PERSON.

◆ ColumnChurchPrimaryPhoneNumberId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.ColumnChurchPrimaryPhoneNumberId = 9
static

used for generic TTypedDataTable functions

◆ ColumnDateOfBirth

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.ColumnDateOfBirth

This is the date the person was born.

◆ ColumnDateOfBirthId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.ColumnDateOfBirthId = 1
static

used for generic TTypedDataTable functions

◆ ColumnGender

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.ColumnGender

◆ ColumnGenderId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.ColumnGenderId = 2
static

used for generic TTypedDataTable functions

◆ ColumnMaritalStatus

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.ColumnMaritalStatus

◆ ColumnMaritalStatusId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.ColumnMaritalStatusId = 3
static

used for generic TTypedDataTable functions

◆ ColumnNationalities

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.ColumnNationalities

Nationality/Nationalities of the PERSON (taken from his-her Passports)

◆ ColumnNationalitiesId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.ColumnNationalitiesId = 4
static

used for generic TTypedDataTable functions

◆ ColumnNumberOfShownSupportingChurches

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.ColumnNumberOfShownSupportingChurches

Number of supporting churches of the PERSON.

◆ ColumnNumberOfShownSupportingChurchesId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.ColumnNumberOfShownSupportingChurchesId = 13
static

used for generic TTypedDataTable functions

◆ ColumnNumberOfShownSupportingChurchPastors

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.ColumnNumberOfShownSupportingChurchPastors

Number of pastors at this supporting church of the PERSON.

◆ ColumnNumberOfShownSupportingChurchPastorsId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.ColumnNumberOfShownSupportingChurchPastorsId = 12
static

used for generic TTypedDataTable functions

◆ ColumnPartnerKey

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.ColumnPartnerKey

This is the partner key assigned to each partner. It consists of the fund id followed by a computer generated six digit number.

◆ ColumnPartnerKeyId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.ColumnPartnerKeyId = 0
static

used for generic TTypedDataTable functions

◆ ColumnPrimaryEmailAddress

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.ColumnPrimaryEmailAddress

Primary E-mail Address of the PERSON.

◆ ColumnPrimaryEmailAddressId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.ColumnPrimaryEmailAddressId = 6
static

used for generic TTypedDataTable functions

◆ ColumnPrimaryPhoneNumber

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.ColumnPrimaryPhoneNumber

Primary Phone Number of the PERSON.

◆ ColumnPrimaryPhoneNumberId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.ColumnPrimaryPhoneNumberId = 5
static

used for generic TTypedDataTable functions

◆ DontThrowAwayAfterSubmitChanges

bool Ict.Common.Data.TTypedDataTable.DontThrowAwayAfterSubmitChanges = false
inherited

if you want no warning about that the datatable should be cleared after submitchanges. in some cases you must keep the data, eg when you need the new keys after INSERT

◆ TableId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.TableId = 5205
static

TableId for Ict.Common.Data generic functions.

◆ TableInfo

SortedList<short, TTypedTableInfo> Ict.Common.Data.TTypedDataTable.TableInfo = new SortedList <short, TTypedTableInfo>()
staticprotectedinherited

stores information about typed tables

◆ ThrowAwayAfterSubmitChanges

bool Ict.Common.Data.TTypedDataTable.ThrowAwayAfterSubmitChanges = false
inherited

if you want the datatable to be cleared after submitchanges. This will increase the speed significantly: no updating of modificationID, no slow AcceptChanges.

Property Documentation

◆ Count

int Ict.Common.Data.TTypedDataTable.Count
getinherited

the number of rows in the current table

◆ TableDBLabel

override string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.TableDBLabel
get

instance property to get the 'Label' of the table as it is used in the database (the 'Label' is usually a short description of what the db table is about)

◆ this[int i]

IndividualDataTDSSummaryDataRow Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSSummaryDataTable.this[int i]
get

Access a typed row by index.


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