OpenPetra
Free Administration Software for Non-Profits
Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable Class Reference

DEPRECATED. USE P_FAMILY INSTEAD. Details of a person. A person must also have a related FAMILY class p_partner record. More...

Inheritance diagram for Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable:
Ict.Common.Data.TTypedDataTable Ict.Petra.Shared.MPartner.Partner.Data.PartnerEditTDSPPersonTable

Public Member Functions

 PPersonTable ()
 constructor More...
 
 PPersonTable (string ATablename)
 constructor More...
 
 PPersonTable (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...
 
PPersonRow NewRowTyped (bool AWithDefaultValues)
 create a new typed row More...
 
PPersonRow NewRowTyped ()
 create a new typed row, always with default values More...
 
PPersonTable 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 GetTitleDBName ()
 get the name of the field in the database for this column More...
 
static short GetTitleLength ()
 get character length for column More...
 
static string GetTitleHelp ()
 get the help text for the field in the database for this column More...
 
static string GetFirstNameDBName ()
 get the name of the field in the database for this column More...
 
static short GetFirstNameLength ()
 get character length for column More...
 
static string GetFirstNameHelp ()
 get the help text for the field in the database for this column More...
 
static string GetPreferedNameDBName ()
 get the name of the field in the database for this column More...
 
static short GetPreferedNameLength ()
 get character length for column More...
 
static string GetPreferedNameHelp ()
 get the help text for the field in the database for this column More...
 
static string GetMiddleName1DBName ()
 get the name of the field in the database for this column More...
 
static short GetMiddleName1Length ()
 get character length for column More...
 
static string GetMiddleName1Help ()
 get the help text for the field in the database for this column More...
 
static string GetMiddleName2DBName ()
 get the name of the field in the database for this column More...
 
static short GetMiddleName2Length ()
 get character length for column More...
 
static string GetMiddleName2Help ()
 get the help text for the field in the database for this column More...
 
static string GetMiddleName3DBName ()
 get the name of the field in the database for this column More...
 
static short GetMiddleName3Length ()
 get character length for column More...
 
static string GetMiddleName3Help ()
 get the help text for the field in the database for this column More...
 
static string GetFamilyNameDBName ()
 get the name of the field in the database for this column More...
 
static short GetFamilyNameLength ()
 get character length for column More...
 
static string GetFamilyNameHelp ()
 get the help text for the field in the database for this column More...
 
static string GetDecorationsDBName ()
 get the name of the field in the database for this column More...
 
static short GetDecorationsLength ()
 get character length for column More...
 
static string GetDecorationsHelp ()
 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 GetOccupationCodeDBName ()
 get the name of the field in the database for this column More...
 
static short GetOccupationCodeLength ()
 get character length for column More...
 
static string GetOccupationCodeHelp ()
 get the help text for the field in the database for this column More...
 
static string GetFamilyKeyDBName ()
 get the name of the field in the database for this column More...
 
static short GetFamilyKeyLength ()
 get character length for column More...
 
static string GetFamilyKeyHelp ()
 get the help text for the field in the database for this column More...
 
static string GetFamilyIdDBName ()
 get the name of the field in the database for this column More...
 
static short GetFamilyIdLength ()
 get character length for column More...
 
static string GetFamilyIdHelp ()
 get the help text for the field in the database for this column More...
 
static string GetAcademicTitleDBName ()
 get the name of the field in the database for this column More...
 
static short GetAcademicTitleLength ()
 get character length for column More...
 
static string GetAcademicTitleHelp ()
 get the help text for the field in the database for this column More...
 
static string GetMaritalStatusSinceDBName ()
 get the name of the field in the database for this column More...
 
static short GetMaritalStatusSinceLength ()
 get character length for column More...
 
static string GetMaritalStatusSinceHelp ()
 get the help text for the field in the database for this column More...
 
static string GetMaritalStatusCommentDBName ()
 get the name of the field in the database for this column More...
 
static short GetMaritalStatusCommentLength ()
 get character length for column More...
 
static string GetMaritalStatusCommentHelp ()
 get the help text for the field in the database for this column More...
 
static string GetDateCreatedDBName ()
 get the name of the field in the database for this column More...
 
static short GetDateCreatedLength ()
 get character length for column More...
 
static string GetDateCreatedHelp ()
 get the help text for the field in the database for this column More...
 
static string GetCreatedByDBName ()
 get the name of the field in the database for this column More...
 
static short GetCreatedByLength ()
 get character length for column More...
 
static string GetCreatedByHelp ()
 get the help text for the field in the database for this column More...
 
static string GetDateModifiedDBName ()
 get the name of the field in the database for this column More...
 
static short GetDateModifiedLength ()
 get character length for column More...
 
static string GetDateModifiedHelp ()
 get the help text for the field in the database for this column More...
 
static string GetModifiedByDBName ()
 get the name of the field in the database for this column More...
 
static short GetModifiedByLength ()
 get character length for column More...
 
static string GetModifiedByHelp ()
 get the help text for the field in the database for this column More...
 
static string GetModificationIdDBName ()
 get the name of the field in the database for this column More...
 
static short GetModificationIdLength ()
 get character length for column More...
 
static string GetModificationIdHelp ()
 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 ColumnTitle
 
DataColumn ColumnFirstName
 
DataColumn ColumnPreferedName
 
DataColumn ColumnMiddleName1
 
DataColumn ColumnMiddleName2
 
DataColumn ColumnMiddleName3
 
DataColumn ColumnFamilyName
 
DataColumn ColumnDecorations
 
DataColumn ColumnDateOfBirth
 This is the date the person was born. More...
 
DataColumn ColumnGender
 
DataColumn ColumnMaritalStatus
 
DataColumn ColumnOccupationCode
 
DataColumn ColumnFamilyKey
 
DataColumn ColumnFamilyId
 
DataColumn ColumnAcademicTitle
 A person's academic title such as BSc(Hons) or Prof. (eg. Herr Prof. Klaus Shmitt) More...
 
DataColumn ColumnMaritalStatusSince
 
DataColumn ColumnMaritalStatusComment
 
DataColumn ColumnDateCreated
 The date the record was created. More...
 
DataColumn ColumnCreatedBy
 User ID of who created this record. More...
 
DataColumn ColumnDateModified
 The date the record was modified. More...
 
DataColumn ColumnModifiedBy
 User ID of who last modified this record. More...
 
DataColumn ColumnModificationId
 This identifies the current version of the record. 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 = 50
 TableId for Ict.Common.Data generic functions. More...
 
static readonly short ColumnPartnerKeyId = 0
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnTitleId = 1
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnFirstNameId = 2
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnPreferedNameId = 3
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnMiddleName1Id = 4
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnMiddleName2Id = 5
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnMiddleName3Id = 6
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnFamilyNameId = 7
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnDecorationsId = 8
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnDateOfBirthId = 9
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnGenderId = 10
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnMaritalStatusId = 11
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnOccupationCodeId = 12
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnFamilyKeyId = 13
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnFamilyIdId = 14
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnAcademicTitleId = 15
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnMaritalStatusSinceId = 16
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnMaritalStatusCommentId = 17
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnDateCreatedId = 18
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnCreatedById = 19
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnDateModifiedId = 20
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnModifiedById = 21
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnModificationIdId = 22
 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

PPersonRow 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...
 

Detailed Description

DEPRECATED. USE P_FAMILY INSTEAD. Details of a person. A person must also have a related FAMILY class p_partner record.

Constructor & Destructor Documentation

◆ PPersonTable() [1/3]

Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.PPersonTable ( )
inline

constructor

◆ PPersonTable() [2/3]

Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.PPersonTable ( string  ATablename)
inline

constructor

◆ PPersonTable() [3/3]

Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.PPersonTable ( 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.MPartner.Partner.Data.PPersonTable.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

◆ GetAcademicTitleDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetAcademicTitleDBName ( )
inlinestatic

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

◆ GetAcademicTitleHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetAcademicTitleHelp ( )
inlinestatic

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

◆ GetAcademicTitleLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetAcademicTitleLength ( )
inlinestatic

get character length for column

◆ GetChanges()

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

make sure that we use GetChangesType instead of GetChanges

Returns
throws an exception

◆ GetChangesTyped()

PPersonTable Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.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

◆ 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

◆ GetCreatedByDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetCreatedByDBName ( )
inlinestatic

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

◆ GetCreatedByHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetCreatedByHelp ( )
inlinestatic

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

◆ GetCreatedByLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetCreatedByLength ( )
inlinestatic

get character length for column

◆ 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

◆ GetDateCreatedDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetDateCreatedDBName ( )
inlinestatic

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

◆ GetDateCreatedHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetDateCreatedHelp ( )
inlinestatic

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

◆ GetDateCreatedLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetDateCreatedLength ( )
inlinestatic

get character length for column

◆ GetDateModifiedDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetDateModifiedDBName ( )
inlinestatic

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

◆ GetDateModifiedHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetDateModifiedHelp ( )
inlinestatic

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

◆ GetDateModifiedLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetDateModifiedLength ( )
inlinestatic

get character length for column

◆ GetDateOfBirthDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetDateOfBirthDBName ( )
inlinestatic

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

◆ GetDateOfBirthHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetDateOfBirthHelp ( )
inlinestatic

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

◆ GetDateOfBirthLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetDateOfBirthLength ( )
inlinestatic

get character length for column

◆ GetDecorationsDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetDecorationsDBName ( )
inlinestatic

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

◆ GetDecorationsHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetDecorationsHelp ( )
inlinestatic

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

◆ GetDecorationsLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetDecorationsLength ( )
inlinestatic

get character length for column

◆ GetFamilyIdDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetFamilyIdDBName ( )
inlinestatic

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

◆ GetFamilyIdHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetFamilyIdHelp ( )
inlinestatic

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

◆ GetFamilyIdLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetFamilyIdLength ( )
inlinestatic

get character length for column

◆ GetFamilyKeyDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetFamilyKeyDBName ( )
inlinestatic

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

◆ GetFamilyKeyHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetFamilyKeyHelp ( )
inlinestatic

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

◆ GetFamilyKeyLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetFamilyKeyLength ( )
inlinestatic

get character length for column

◆ GetFamilyNameDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetFamilyNameDBName ( )
inlinestatic

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

◆ GetFamilyNameHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetFamilyNameHelp ( )
inlinestatic

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

◆ GetFamilyNameLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetFamilyNameLength ( )
inlinestatic

get character length for column

◆ GetFirstNameDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetFirstNameDBName ( )
inlinestatic

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

◆ GetFirstNameHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetFirstNameHelp ( )
inlinestatic

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

◆ GetFirstNameLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetFirstNameLength ( )
inlinestatic

get character length for column

◆ GetGenderDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetGenderDBName ( )
inlinestatic

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

◆ GetGenderHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetGenderHelp ( )
inlinestatic

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

◆ GetGenderLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.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

◆ GetMaritalStatusCommentDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetMaritalStatusCommentDBName ( )
inlinestatic

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

◆ GetMaritalStatusCommentHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetMaritalStatusCommentHelp ( )
inlinestatic

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

◆ GetMaritalStatusCommentLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetMaritalStatusCommentLength ( )
inlinestatic

get character length for column

◆ GetMaritalStatusDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetMaritalStatusDBName ( )
inlinestatic

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

◆ GetMaritalStatusHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetMaritalStatusHelp ( )
inlinestatic

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

◆ GetMaritalStatusLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetMaritalStatusLength ( )
inlinestatic

get character length for column

◆ GetMaritalStatusSinceDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetMaritalStatusSinceDBName ( )
inlinestatic

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

◆ GetMaritalStatusSinceHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetMaritalStatusSinceHelp ( )
inlinestatic

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

◆ GetMaritalStatusSinceLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetMaritalStatusSinceLength ( )
inlinestatic

get character length for column

◆ GetMiddleName1DBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetMiddleName1DBName ( )
inlinestatic

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

◆ GetMiddleName1Help()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetMiddleName1Help ( )
inlinestatic

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

◆ GetMiddleName1Length()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetMiddleName1Length ( )
inlinestatic

get character length for column

◆ GetMiddleName2DBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetMiddleName2DBName ( )
inlinestatic

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

◆ GetMiddleName2Help()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetMiddleName2Help ( )
inlinestatic

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

◆ GetMiddleName2Length()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetMiddleName2Length ( )
inlinestatic

get character length for column

◆ GetMiddleName3DBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetMiddleName3DBName ( )
inlinestatic

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

◆ GetMiddleName3Help()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetMiddleName3Help ( )
inlinestatic

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

◆ GetMiddleName3Length()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetMiddleName3Length ( )
inlinestatic

get character length for column

◆ GetModificationIdDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetModificationIdDBName ( )
inlinestatic

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

◆ GetModificationIdHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetModificationIdHelp ( )
inlinestatic

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

◆ GetModificationIdLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetModificationIdLength ( )
inlinestatic

get character length for column

◆ GetModifiedByDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetModifiedByDBName ( )
inlinestatic

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

◆ GetModifiedByHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetModifiedByHelp ( )
inlinestatic

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

◆ GetModifiedByLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetModifiedByLength ( )
inlinestatic

get character length for column

◆ GetOccupationCodeDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetOccupationCodeDBName ( )
inlinestatic

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

◆ GetOccupationCodeHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetOccupationCodeHelp ( )
inlinestatic

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

◆ GetOccupationCodeLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetOccupationCodeLength ( )
inlinestatic

get character length for column

◆ GetPartnerKeyDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetPartnerKeyDBName ( )
inlinestatic

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

◆ GetPartnerKeyHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetPartnerKeyHelp ( )
inlinestatic

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

◆ GetPartnerKeyLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetPartnerKeyLength ( )
inlinestatic

get character length for column

◆ GetPreferedNameDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetPreferedNameDBName ( )
inlinestatic

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

◆ GetPreferedNameHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetPreferedNameHelp ( )
inlinestatic

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

◆ GetPreferedNameLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetPreferedNameLength ( )
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

◆ GetTableByName()

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

the table name in CamelCase

◆ GetTableDBLabel()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.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.MPartner.Partner.Data.PPersonTable.GetTableDBName ( )
inlinestatic

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

◆ GetTableName() [1/2]

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.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

◆ GetTitleDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetTitleDBName ( )
inlinestatic

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

◆ GetTitleHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetTitleHelp ( )
inlinestatic

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

◆ GetTitleLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.GetTitleLength ( )
inlinestatic

get character length for column

◆ 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.MPartner.Partner.Data.PPersonTable.InitClass ( )
inlineprotectedvirtual

create the columns

Implements Ict.Common.Data.TTypedDataTable.

◆ InitVars()

override void Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.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.MPartner.Partner.Data.PPersonTable.NewRowFromBuilder ( System.Data.DataRowBuilder  builder)
inlineprotected

new typed row using DataRowBuilder

◆ NewRowTyped() [1/2]

PPersonRow Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.NewRowTyped ( )
inline

create a new typed row, always with default values

◆ NewRowTyped() [2/2]

PPersonRow Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.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

◆ ColumnAcademicTitle

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnAcademicTitle

A person's academic title such as BSc(Hons) or Prof. (eg. Herr Prof. Klaus Shmitt)

◆ ColumnAcademicTitleId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnAcademicTitleId = 15
static

used for generic TTypedDataTable functions

◆ ColumnCreatedBy

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnCreatedBy

User ID of who created this record.

◆ ColumnCreatedById

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnCreatedById = 19
static

used for generic TTypedDataTable functions

◆ ColumnDateCreated

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnDateCreated

The date the record was created.

◆ ColumnDateCreatedId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnDateCreatedId = 18
static

used for generic TTypedDataTable functions

◆ ColumnDateModified

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnDateModified

The date the record was modified.

◆ ColumnDateModifiedId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnDateModifiedId = 20
static

used for generic TTypedDataTable functions

◆ ColumnDateOfBirth

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnDateOfBirth

This is the date the person was born.

◆ ColumnDateOfBirthId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnDateOfBirthId = 9
static

used for generic TTypedDataTable functions

◆ ColumnDecorations

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnDecorations

◆ ColumnDecorationsId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnDecorationsId = 8
static

used for generic TTypedDataTable functions

◆ ColumnFamilyId

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnFamilyId

This field indicates the family id of the individual. ID's 0 and 1 are used for parents; 2, 3, 4 ... 9 are used for children.

◆ ColumnFamilyIdId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnFamilyIdId = 14
static

used for generic TTypedDataTable functions

◆ ColumnFamilyKey

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnFamilyKey

A cross reference to the family record of this person. It should be set to ? (not 0 because such a record does not exist!) when there is no family record.

◆ ColumnFamilyKeyId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnFamilyKeyId = 13
static

used for generic TTypedDataTable functions

◆ ColumnFamilyName

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnFamilyName

◆ ColumnFamilyNameId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnFamilyNameId = 7
static

used for generic TTypedDataTable functions

◆ ColumnFirstName

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnFirstName

◆ ColumnFirstNameId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnFirstNameId = 2
static

used for generic TTypedDataTable functions

◆ ColumnGender

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnGender

◆ ColumnGenderId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnGenderId = 10
static

used for generic TTypedDataTable functions

◆ ColumnMaritalStatus

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnMaritalStatus

◆ ColumnMaritalStatusComment

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnMaritalStatusComment

◆ ColumnMaritalStatusCommentId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnMaritalStatusCommentId = 17
static

used for generic TTypedDataTable functions

◆ ColumnMaritalStatusId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnMaritalStatusId = 11
static

used for generic TTypedDataTable functions

◆ ColumnMaritalStatusSince

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnMaritalStatusSince

◆ ColumnMaritalStatusSinceId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnMaritalStatusSinceId = 16
static

used for generic TTypedDataTable functions

◆ ColumnMiddleName1

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnMiddleName1

◆ ColumnMiddleName1Id

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnMiddleName1Id = 4
static

used for generic TTypedDataTable functions

◆ ColumnMiddleName2

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnMiddleName2

◆ ColumnMiddleName2Id

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnMiddleName2Id = 5
static

used for generic TTypedDataTable functions

◆ ColumnMiddleName3

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnMiddleName3

◆ ColumnMiddleName3Id

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnMiddleName3Id = 6
static

used for generic TTypedDataTable functions

◆ ColumnModificationId

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnModificationId

This identifies the current version of the record.

◆ ColumnModificationIdId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnModificationIdId = 22
static

used for generic TTypedDataTable functions

◆ ColumnModifiedBy

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnModifiedBy

User ID of who last modified this record.

◆ ColumnModifiedById

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnModifiedById = 21
static

used for generic TTypedDataTable functions

◆ ColumnOccupationCode

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnOccupationCode

◆ ColumnOccupationCodeId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnOccupationCodeId = 12
static

used for generic TTypedDataTable functions

◆ ColumnPartnerKey

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.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.MPartner.Partner.Data.PPersonTable.ColumnPartnerKeyId = 0
static

used for generic TTypedDataTable functions

◆ ColumnPreferedName

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnPreferedName

◆ ColumnPreferedNameId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnPreferedNameId = 3
static

used for generic TTypedDataTable functions

◆ ColumnTitle

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnTitle

◆ ColumnTitleId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.ColumnTitleId = 1
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.MPartner.Partner.Data.PPersonTable.TableId = 50
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.MPartner.Partner.Data.PPersonTable.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]

PPersonRow Ict.Petra.Shared.MPartner.Partner.Data.PPersonTable.this[int i]
get

Access a typed row by index.


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