OpenPetra
Free Administration Software for Non-Profits
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Pages
Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable Class Reference
Inheritance diagram for Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable:
Ict.Common.Data.TTypedDataTable

Public Member Functions

 PartnerInfoTDSPartnerAdditionalInfoTable ()
 constructor More...
 
 PartnerInfoTDSPartnerAdditionalInfoTable (string ATablename)
 constructor More...
 
 PartnerInfoTDSPartnerAdditionalInfoTable (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...
 
PartnerInfoTDSPartnerAdditionalInfoRow NewRowTyped (bool AWithDefaultValues)
 create a new typed row More...
 
PartnerInfoTDSPartnerAdditionalInfoRow NewRowTyped ()
 create a new typed row, always with default values More...
 
PartnerInfoTDSPartnerAdditionalInfoTable 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 GetMainLanguagesDBName ()
 get the name of the field in the database for this column More...
 
static short GetMainLanguagesLength ()
 get character length for column More...
 
static string GetMainLanguagesHelp ()
 get the help text for the field in the database for this column More...
 
static string GetAdditionalLanguagesDBName ()
 get the name of the field in the database for this column More...
 
static short GetAdditionalLanguagesLength ()
 get character length for column More...
 
static string GetAdditionalLanguagesHelp ()
 get the help text for the field in the database for this column More...
 
static string GetLastContactDBName ()
 get the name of the field in the database for this column More...
 
static short GetLastContactLength ()
 get character length for column More...
 
static string GetLastContactHelp ()
 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 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 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 GetFamilyDBName ()
 get the name of the field in the database for this column More...
 
static short GetFamilyLength ()
 get character length for column More...
 
static string GetFamilyHelp ()
 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 GetPreviousNameDBName ()
 get the name of the field in the database for this column More...
 
static short GetPreviousNameLength ()
 get character length for column More...
 
static string GetPreviousNameHelp ()
 get the help text for the field in the database for this column More...
 
static string GetFieldDBName ()
 get the name of the field in the database for this column More...
 
static short GetFieldLength ()
 get character length for column More...
 
static string GetFieldHelp ()
 get the help text for the field in the database for this column More...
 
static string GetFieldKeyDBName ()
 get the name of the field in the database for this column More...
 
static short GetFieldKeyLength ()
 get character length for column More...
 
static string GetFieldKeyHelp ()
 get the help text for the field in the database for this column More...
 
static string GetNotesDBName ()
 get the name of the field in the database for this column More...
 
static short GetNotesLength ()
 get character length for column More...
 
static string GetNotesHelp ()
 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 ColumnMainLanguages
 
DataColumn ColumnAdditionalLanguages
 
DataColumn ColumnLastContact
 Date of contact. More...
 
DataColumn ColumnDateCreated
 The date the record was created. More...
 
DataColumn ColumnDateModified
 The date the record was modified. More...
 
DataColumn ColumnDateOfBirth
 This is the date the person was born. More...
 
DataColumn ColumnFamily
 Name of the person or organisation. If a person, more name info is stored in p_person. More...
 
DataColumn ColumnFamilyKey
 
DataColumn ColumnPreviousName
 
DataColumn ColumnField
 
DataColumn ColumnFieldKey
 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 ColumnNotes
 Additional information about the partner that is important to store in the database. 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 = 5116
 TableId for Ict.Common.Data generic functions. More...
 
static readonly short ColumnMainLanguagesId = 0
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnAdditionalLanguagesId = 1
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnLastContactId = 2
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnDateCreatedId = 3
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnDateModifiedId = 4
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnDateOfBirthId = 5
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnFamilyId = 6
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnFamilyKeyId = 7
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnPreviousNameId = 8
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnFieldId = 9
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnFieldKeyId = 10
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnNotesId = 11
 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

PartnerInfoTDSPartnerAdditionalInfoRow 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

◆ PartnerInfoTDSPartnerAdditionalInfoTable() [1/3]

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

constructor

◆ PartnerInfoTDSPartnerAdditionalInfoTable() [2/3]

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

constructor

◆ PartnerInfoTDSPartnerAdditionalInfoTable() [3/3]

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

◆ GetAdditionalLanguagesDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.GetAdditionalLanguagesDBName ( )
inlinestatic

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

◆ GetAdditionalLanguagesHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.GetAdditionalLanguagesHelp ( )
inlinestatic

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

◆ GetAdditionalLanguagesLength()

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

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

◆ 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.PartnerInfoTDSPartnerAdditionalInfoTable.GetDateCreatedDBName ( )
inlinestatic

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

◆ GetDateCreatedHelp()

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

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

◆ GetDateCreatedLength()

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

get character length for column

◆ GetDateModifiedDBName()

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

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

◆ GetDateModifiedHelp()

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

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

◆ GetDateModifiedLength()

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

get character length for column

◆ GetDateOfBirthDBName()

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

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

◆ GetDateOfBirthHelp()

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

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

◆ GetDateOfBirthLength()

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

get character length for column

◆ GetFamilyDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.GetFamilyDBName ( )
inlinestatic

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

◆ GetFamilyHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.GetFamilyHelp ( )
inlinestatic

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

◆ GetFamilyKeyDBName()

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

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

◆ GetFamilyKeyHelp()

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

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

◆ GetFamilyKeyLength()

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

get character length for column

◆ GetFamilyLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.GetFamilyLength ( )
inlinestatic

get character length for column

◆ GetFieldDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.GetFieldDBName ( )
inlinestatic

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

◆ GetFieldHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.GetFieldHelp ( )
inlinestatic

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

◆ GetFieldKeyDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.GetFieldKeyDBName ( )
inlinestatic

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

◆ GetFieldKeyHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.GetFieldKeyHelp ( )
inlinestatic

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

◆ GetFieldKeyLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.GetFieldKeyLength ( )
inlinestatic

get character length for column

◆ GetFieldLength()

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

◆ GetLastContactDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.GetLastContactDBName ( )
inlinestatic

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

◆ GetLastContactHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.GetLastContactHelp ( )
inlinestatic

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

◆ GetLastContactLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.GetLastContactLength ( )
inlinestatic

get character length for 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

◆ GetMainLanguagesDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.GetMainLanguagesDBName ( )
inlinestatic

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

◆ GetMainLanguagesHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.GetMainLanguagesHelp ( )
inlinestatic

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

◆ GetMainLanguagesLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.GetMainLanguagesLength ( )
inlinestatic

get character length for column

◆ GetNotesDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.GetNotesDBName ( )
inlinestatic

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

◆ GetNotesHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.GetNotesHelp ( )
inlinestatic

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

◆ GetNotesLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.GetNotesLength ( )
inlinestatic

get character length for column

◆ GetPreviousNameDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.GetPreviousNameDBName ( )
inlinestatic

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

◆ GetPreviousNameHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.GetPreviousNameHelp ( )
inlinestatic

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

◆ GetPreviousNameLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.GetPreviousNameLength ( )
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.PartnerInfoTDSPartnerAdditionalInfoTable.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.PartnerInfoTDSPartnerAdditionalInfoTable.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.PartnerInfoTDSPartnerAdditionalInfoTable.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.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.InitClass ( )
inlineprotectedvirtual

create the columns

Implements Ict.Common.Data.TTypedDataTable.

◆ InitVars()

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

new typed row using DataRowBuilder

◆ NewRowTyped() [1/2]

PartnerInfoTDSPartnerAdditionalInfoRow Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.NewRowTyped ( )
inline

create a new typed row, always with default values

◆ NewRowTyped() [2/2]

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

◆ ColumnAdditionalLanguages

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.ColumnAdditionalLanguages

◆ ColumnAdditionalLanguagesId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.ColumnAdditionalLanguagesId = 1
static

used for generic TTypedDataTable functions

◆ ColumnDateCreated

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

The date the record was created.

◆ ColumnDateCreatedId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.ColumnDateCreatedId = 3
static

used for generic TTypedDataTable functions

◆ ColumnDateModified

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

The date the record was modified.

◆ ColumnDateModifiedId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.ColumnDateModifiedId = 4
static

used for generic TTypedDataTable functions

◆ ColumnDateOfBirth

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

This is the date the person was born.

◆ ColumnDateOfBirthId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.ColumnDateOfBirthId = 5
static

used for generic TTypedDataTable functions

◆ ColumnFamily

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.ColumnFamily

Name of the person or organisation. If a person, more name info is stored in p_person.

◆ ColumnFamilyId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.ColumnFamilyId = 6
static

used for generic TTypedDataTable functions

◆ ColumnFamilyKey

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.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.PartnerInfoTDSPartnerAdditionalInfoTable.ColumnFamilyKeyId = 7
static

used for generic TTypedDataTable functions

◆ ColumnField

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.ColumnField

◆ ColumnFieldId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.ColumnFieldId = 9
static

used for generic TTypedDataTable functions

◆ ColumnFieldKey

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.ColumnFieldKey

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

◆ ColumnFieldKeyId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.ColumnFieldKeyId = 10
static

used for generic TTypedDataTable functions

◆ ColumnLastContact

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.ColumnLastContact

Date of contact.

◆ ColumnLastContactId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.ColumnLastContactId = 2
static

used for generic TTypedDataTable functions

◆ ColumnMainLanguages

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.ColumnMainLanguages

◆ ColumnMainLanguagesId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.ColumnMainLanguagesId = 0
static

used for generic TTypedDataTable functions

◆ ColumnNotes

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.ColumnNotes

Additional information about the partner that is important to store in the database.

◆ ColumnNotesId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.ColumnNotesId = 11
static

used for generic TTypedDataTable functions

◆ ColumnPreviousName

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.ColumnPreviousName

◆ ColumnPreviousNameId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.ColumnPreviousNameId = 8
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.PartnerInfoTDSPartnerAdditionalInfoTable.TableId = 5116
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.PartnerInfoTDSPartnerAdditionalInfoTable.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]

PartnerInfoTDSPartnerAdditionalInfoRow Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDSPartnerAdditionalInfoTable.this[int i]
get

Access a typed row by index.


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