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

Public Member Functions

 IndividualDataTDSMiscellaneousDataTable ()
 constructor More...
 
 IndividualDataTDSMiscellaneousDataTable (string ATablename)
 constructor More...
 
 IndividualDataTDSMiscellaneousDataTable (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...
 
IndividualDataTDSMiscellaneousDataRow NewRowTyped (bool AWithDefaultValues)
 create a new typed row More...
 
IndividualDataTDSMiscellaneousDataRow NewRowTyped ()
 create a new typed row, always with default values More...
 
IndividualDataTDSMiscellaneousDataTable 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 GetItemsCountPassportDetailsDBName ()
 get the name of the field in the database for this column More...
 
static short GetItemsCountPassportDetailsLength ()
 get character length for column More...
 
static string GetItemsCountPassportDetailsHelp ()
 get the help text for the field in the database for this column More...
 
static string GetItemsCountPersonalDocumentsDBName ()
 get the name of the field in the database for this column More...
 
static short GetItemsCountPersonalDocumentsLength ()
 get character length for column More...
 
static string GetItemsCountPersonalDocumentsHelp ()
 get the help text for the field in the database for this column More...
 
static string GetItemsCountProfessionalAreasDBName ()
 get the name of the field in the database for this column More...
 
static short GetItemsCountProfessionalAreasLength ()
 get character length for column More...
 
static string GetItemsCountProfessionalAreasHelp ()
 get the help text for the field in the database for this column More...
 
static string GetItemsCountPersonalLanguagesDBName ()
 get the name of the field in the database for this column More...
 
static short GetItemsCountPersonalLanguagesLength ()
 get character length for column More...
 
static string GetItemsCountPersonalLanguagesHelp ()
 get the help text for the field in the database for this column More...
 
static string GetItemsCountPersonalAbilitiesDBName ()
 get the name of the field in the database for this column More...
 
static short GetItemsCountPersonalAbilitiesLength ()
 get character length for column More...
 
static string GetItemsCountPersonalAbilitiesHelp ()
 get the help text for the field in the database for this column More...
 
static string GetItemsCountPreviousExperienceDBName ()
 get the name of the field in the database for this column More...
 
static short GetItemsCountPreviousExperienceLength ()
 get character length for column More...
 
static string GetItemsCountPreviousExperienceHelp ()
 get the help text for the field in the database for this column More...
 
static string GetItemsCountCommitmentPeriodsDBName ()
 get the name of the field in the database for this column More...
 
static short GetItemsCountCommitmentPeriodsLength ()
 get character length for column More...
 
static string GetItemsCountCommitmentPeriodsHelp ()
 get the help text for the field in the database for this column More...
 
static string GetItemsCountJobAssignmentsDBName ()
 get the name of the field in the database for this column More...
 
static short GetItemsCountJobAssignmentsLength ()
 get character length for column More...
 
static string GetItemsCountJobAssignmentsHelp ()
 get the help text for the field in the database for this column More...
 
static string GetItemsCountProgressReportsDBName ()
 get the name of the field in the database for this column More...
 
static short GetItemsCountProgressReportsLength ()
 get character length for column More...
 
static string GetItemsCountProgressReportsHelp ()
 get the help text for the field in the database for this column More...
 
static string GetItemsCountPersonSkillsDBName ()
 get the name of the field in the database for this column More...
 
static short GetItemsCountPersonSkillsLength ()
 get character length for column More...
 
static string GetItemsCountPersonSkillsHelp ()
 get the help text for the field in the database for this column More...
 
static string GetItemsCountApplicationsDBName ()
 get the name of the field in the database for this column More...
 
static short GetItemsCountApplicationsLength ()
 get character length for column More...
 
static string GetItemsCountApplicationsHelp ()
 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 ColumnItemsCountPassportDetails
 
DataColumn ColumnItemsCountPersonalDocuments
 
DataColumn ColumnItemsCountProfessionalAreas
 
DataColumn ColumnItemsCountPersonalLanguages
 
DataColumn ColumnItemsCountPersonalAbilities
 
DataColumn ColumnItemsCountPreviousExperience
 
DataColumn ColumnItemsCountCommitmentPeriods
 
DataColumn ColumnItemsCountJobAssignments
 
DataColumn ColumnItemsCountProgressReports
 
DataColumn ColumnItemsCountPersonSkills
 
DataColumn ColumnItemsCountApplications
 
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 = 5207
 TableId for Ict.Common.Data generic functions. More...
 
static readonly short ColumnPartnerKeyId = 0
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnItemsCountPassportDetailsId = 1
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnItemsCountPersonalDocumentsId = 2
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnItemsCountProfessionalAreasId = 3
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnItemsCountPersonalLanguagesId = 4
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnItemsCountPersonalAbilitiesId = 5
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnItemsCountPreviousExperienceId = 6
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnItemsCountCommitmentPeriodsId = 7
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnItemsCountJobAssignmentsId = 8
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnItemsCountProgressReportsId = 9
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnItemsCountPersonSkillsId = 10
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnItemsCountApplicationsId = 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

IndividualDataTDSMiscellaneousDataRow 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

◆ IndividualDataTDSMiscellaneousDataTable() [1/3]

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

constructor

◆ IndividualDataTDSMiscellaneousDataTable() [2/3]

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

constructor

◆ IndividualDataTDSMiscellaneousDataTable() [3/3]

Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.IndividualDataTDSMiscellaneousDataTable ( 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.IndividualDataTDSMiscellaneousDataTable.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()

IndividualDataTDSMiscellaneousDataTable Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.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

◆ GetItemsCountApplicationsDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.GetItemsCountApplicationsDBName ( )
inlinestatic

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

◆ GetItemsCountApplicationsHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.GetItemsCountApplicationsHelp ( )
inlinestatic

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

◆ GetItemsCountApplicationsLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.GetItemsCountApplicationsLength ( )
inlinestatic

get character length for column

◆ GetItemsCountCommitmentPeriodsDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.GetItemsCountCommitmentPeriodsDBName ( )
inlinestatic

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

◆ GetItemsCountCommitmentPeriodsHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.GetItemsCountCommitmentPeriodsHelp ( )
inlinestatic

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

◆ GetItemsCountCommitmentPeriodsLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.GetItemsCountCommitmentPeriodsLength ( )
inlinestatic

get character length for column

◆ GetItemsCountJobAssignmentsDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.GetItemsCountJobAssignmentsDBName ( )
inlinestatic

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

◆ GetItemsCountJobAssignmentsHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.GetItemsCountJobAssignmentsHelp ( )
inlinestatic

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

◆ GetItemsCountJobAssignmentsLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.GetItemsCountJobAssignmentsLength ( )
inlinestatic

get character length for column

◆ GetItemsCountPassportDetailsDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.GetItemsCountPassportDetailsDBName ( )
inlinestatic

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

◆ GetItemsCountPassportDetailsHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.GetItemsCountPassportDetailsHelp ( )
inlinestatic

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

◆ GetItemsCountPassportDetailsLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.GetItemsCountPassportDetailsLength ( )
inlinestatic

get character length for column

◆ GetItemsCountPersonalAbilitiesDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.GetItemsCountPersonalAbilitiesDBName ( )
inlinestatic

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

◆ GetItemsCountPersonalAbilitiesHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.GetItemsCountPersonalAbilitiesHelp ( )
inlinestatic

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

◆ GetItemsCountPersonalAbilitiesLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.GetItemsCountPersonalAbilitiesLength ( )
inlinestatic

get character length for column

◆ GetItemsCountPersonalDocumentsDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.GetItemsCountPersonalDocumentsDBName ( )
inlinestatic

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

◆ GetItemsCountPersonalDocumentsHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.GetItemsCountPersonalDocumentsHelp ( )
inlinestatic

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

◆ GetItemsCountPersonalDocumentsLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.GetItemsCountPersonalDocumentsLength ( )
inlinestatic

get character length for column

◆ GetItemsCountPersonalLanguagesDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.GetItemsCountPersonalLanguagesDBName ( )
inlinestatic

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

◆ GetItemsCountPersonalLanguagesHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.GetItemsCountPersonalLanguagesHelp ( )
inlinestatic

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

◆ GetItemsCountPersonalLanguagesLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.GetItemsCountPersonalLanguagesLength ( )
inlinestatic

get character length for column

◆ GetItemsCountPersonSkillsDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.GetItemsCountPersonSkillsDBName ( )
inlinestatic

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

◆ GetItemsCountPersonSkillsHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.GetItemsCountPersonSkillsHelp ( )
inlinestatic

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

◆ GetItemsCountPersonSkillsLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.GetItemsCountPersonSkillsLength ( )
inlinestatic

get character length for column

◆ GetItemsCountPreviousExperienceDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.GetItemsCountPreviousExperienceDBName ( )
inlinestatic

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

◆ GetItemsCountPreviousExperienceHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.GetItemsCountPreviousExperienceHelp ( )
inlinestatic

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

◆ GetItemsCountPreviousExperienceLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.GetItemsCountPreviousExperienceLength ( )
inlinestatic

get character length for column

◆ GetItemsCountProfessionalAreasDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.GetItemsCountProfessionalAreasDBName ( )
inlinestatic

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

◆ GetItemsCountProfessionalAreasHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.GetItemsCountProfessionalAreasHelp ( )
inlinestatic

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

◆ GetItemsCountProfessionalAreasLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.GetItemsCountProfessionalAreasLength ( )
inlinestatic

get character length for column

◆ GetItemsCountProgressReportsDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.GetItemsCountProgressReportsDBName ( )
inlinestatic

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

◆ GetItemsCountProgressReportsHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.GetItemsCountProgressReportsHelp ( )
inlinestatic

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

◆ GetItemsCountProgressReportsLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.GetItemsCountProgressReportsLength ( )
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

◆ GetPartnerKeyDBName()

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

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

◆ GetPartnerKeyHelp()

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

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

◆ GetPartnerKeyLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.GetPartnerKeyLength ( )
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.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.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.IndividualDataTDSMiscellaneousDataTable.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.IndividualDataTDSMiscellaneousDataTable.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.IndividualDataTDSMiscellaneousDataTable.InitClass ( )
inlineprotectedvirtual

create the columns

Implements Ict.Common.Data.TTypedDataTable.

◆ InitVars()

override void Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.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.IndividualDataTDSMiscellaneousDataTable.NewRowFromBuilder ( System.Data.DataRowBuilder  builder)
inlineprotected

new typed row using DataRowBuilder

◆ NewRowTyped() [1/2]

IndividualDataTDSMiscellaneousDataRow Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.NewRowTyped ( )
inline

create a new typed row, always with default values

◆ NewRowTyped() [2/2]

IndividualDataTDSMiscellaneousDataRow Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.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

◆ ColumnItemsCountApplications

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.ColumnItemsCountApplications

◆ ColumnItemsCountApplicationsId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.ColumnItemsCountApplicationsId = 11
static

used for generic TTypedDataTable functions

◆ ColumnItemsCountCommitmentPeriods

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.ColumnItemsCountCommitmentPeriods

◆ ColumnItemsCountCommitmentPeriodsId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.ColumnItemsCountCommitmentPeriodsId = 7
static

used for generic TTypedDataTable functions

◆ ColumnItemsCountJobAssignments

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.ColumnItemsCountJobAssignments

◆ ColumnItemsCountJobAssignmentsId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.ColumnItemsCountJobAssignmentsId = 8
static

used for generic TTypedDataTable functions

◆ ColumnItemsCountPassportDetails

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.ColumnItemsCountPassportDetails

◆ ColumnItemsCountPassportDetailsId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.ColumnItemsCountPassportDetailsId = 1
static

used for generic TTypedDataTable functions

◆ ColumnItemsCountPersonalAbilities

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.ColumnItemsCountPersonalAbilities

◆ ColumnItemsCountPersonalAbilitiesId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.ColumnItemsCountPersonalAbilitiesId = 5
static

used for generic TTypedDataTable functions

◆ ColumnItemsCountPersonalDocuments

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.ColumnItemsCountPersonalDocuments

◆ ColumnItemsCountPersonalDocumentsId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.ColumnItemsCountPersonalDocumentsId = 2
static

used for generic TTypedDataTable functions

◆ ColumnItemsCountPersonalLanguages

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.ColumnItemsCountPersonalLanguages

◆ ColumnItemsCountPersonalLanguagesId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.ColumnItemsCountPersonalLanguagesId = 4
static

used for generic TTypedDataTable functions

◆ ColumnItemsCountPersonSkills

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.ColumnItemsCountPersonSkills

◆ ColumnItemsCountPersonSkillsId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.ColumnItemsCountPersonSkillsId = 10
static

used for generic TTypedDataTable functions

◆ ColumnItemsCountPreviousExperience

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.ColumnItemsCountPreviousExperience

◆ ColumnItemsCountPreviousExperienceId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.ColumnItemsCountPreviousExperienceId = 6
static

used for generic TTypedDataTable functions

◆ ColumnItemsCountProfessionalAreas

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.ColumnItemsCountProfessionalAreas

◆ ColumnItemsCountProfessionalAreasId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.ColumnItemsCountProfessionalAreasId = 3
static

used for generic TTypedDataTable functions

◆ ColumnItemsCountProgressReports

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.ColumnItemsCountProgressReports

◆ ColumnItemsCountProgressReportsId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.ColumnItemsCountProgressReportsId = 9
static

used for generic TTypedDataTable functions

◆ ColumnPartnerKey

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.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.IndividualDataTDSMiscellaneousDataTable.ColumnPartnerKeyId = 0
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.IndividualDataTDSMiscellaneousDataTable.TableId = 5207
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.IndividualDataTDSMiscellaneousDataTable.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]

IndividualDataTDSMiscellaneousDataRow Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSMiscellaneousDataTable.this[int i]
get

Access a typed row by index.


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