OpenPetra
Free Administration Software for Non-Profits
Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable Class Reference

This defines the position one fills. More...

Inheritance diagram for Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable:
Ict.Common.Data.TTypedDataTable

Public Member Functions

 PmJobAssignmentTable ()
 constructor More...
 
 PmJobAssignmentTable (string ATablename)
 constructor More...
 
 PmJobAssignmentTable (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...
 
PmJobAssignmentRow NewRowTyped (bool AWithDefaultValues)
 create a new typed row More...
 
PmJobAssignmentRow NewRowTyped ()
 create a new typed row, always with default values More...
 
PmJobAssignmentTable 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 GetUnitKeyDBName ()
 get the name of the field in the database for this column More...
 
static short GetUnitKeyLength ()
 get character length for column More...
 
static string GetUnitKeyHelp ()
 get the help text for the field in the database for this column More...
 
static string GetPositionNameDBName ()
 get the name of the field in the database for this column More...
 
static short GetPositionNameLength ()
 get character length for column More...
 
static string GetPositionNameHelp ()
 get the help text for the field in the database for this column More...
 
static string GetPositionScopeDBName ()
 get the name of the field in the database for this column More...
 
static short GetPositionScopeLength ()
 get character length for column More...
 
static string GetPositionScopeHelp ()
 get the help text for the field in the database for this column More...
 
static string GetJobKeyDBName ()
 get the name of the field in the database for this column More...
 
static short GetJobKeyLength ()
 get character length for column More...
 
static string GetJobKeyHelp ()
 get the help text for the field in the database for this column More...
 
static string GetJobAssignmentKeyDBName ()
 get the name of the field in the database for this column More...
 
static short GetJobAssignmentKeyLength ()
 get character length for column More...
 
static string GetJobAssignmentKeyHelp ()
 get the help text for the field in the database for this column More...
 
static string GetAssistantToDBName ()
 get the name of the field in the database for this column More...
 
static short GetAssistantToLength ()
 get character length for column More...
 
static string GetAssistantToHelp ()
 get the help text for the field in the database for this column More...
 
static string GetAssignmentTypeCodeDBName ()
 get the name of the field in the database for this column More...
 
static short GetAssignmentTypeCodeLength ()
 get character length for column More...
 
static string GetAssignmentTypeCodeHelp ()
 get the help text for the field in the database for this column More...
 
static string GetCostsChangedFlagDBName ()
 get the name of the field in the database for this column More...
 
static short GetCostsChangedFlagLength ()
 get character length for column More...
 
static string GetCostsChangedFlagHelp ()
 get the help text for the field in the database for this column More...
 
static string GetFromDateDBName ()
 get the name of the field in the database for this column More...
 
static short GetFromDateLength ()
 get character length for column More...
 
static string GetFromDateHelp ()
 get the help text for the field in the database for this column More...
 
static string GetToDateDBName ()
 get the name of the field in the database for this column More...
 
static short GetToDateLength ()
 get character length for column More...
 
static string GetToDateHelp ()
 get the help text for the field in the database for this column More...
 
static string GetHrdCpyDetailChangeFlagDBName ()
 get the name of the field in the database for this column More...
 
static short GetHrdCpyDetailChangeFlagLength ()
 get character length for column More...
 
static string GetHrdCpyDetailChangeFlagHelp ()
 get the help text for the field in the database for this column More...
 
static string GetDeleteableFlagDBName ()
 get the name of the field in the database for this column More...
 
static short GetDeleteableFlagLength ()
 get character length for column More...
 
static string GetDeleteableFlagHelp ()
 get the help text for the field in the database for this column More...
 
static string GetRegistrationOfficeDBName ()
 get the name of the field in the database for this column More...
 
static short GetRegistrationOfficeLength ()
 get character length for column More...
 
static string GetRegistrationOfficeHelp ()
 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 ColumnUnitKey
 This is the partner key of the unit to which this person is assigned. It consists of the fund id followed by a computer generated six digit number. More...
 
DataColumn ColumnPositionName
 Name of the position. More...
 
DataColumn ColumnPositionScope
 Scope of the position. More...
 
DataColumn ColumnJobKey
 
DataColumn ColumnJobAssignmentKey
 A number to make this unique as other wise we would need to add date from/to. More...
 
DataColumn ColumnAssistantTo
 Indicates if the assignment is in assistance to the given position. More...
 
DataColumn ColumnAssignmentTypeCode
 This defines the type of assignment. More...
 
DataColumn ColumnCostsChangedFlag
 Can these costs be changed? More...
 
DataColumn ColumnFromDate
 This is the date from which this job is assigned. More...
 
DataColumn ColumnToDate
 This is the date to which a job is expected to be filled. More...
 
DataColumn ColumnHrdCpyDetailChangeFlag
 This field indicates if the hard copy details have been changed. More...
 
DataColumn ColumnDeleteableFlag
 This field indicates if the record is deletable. More...
 
DataColumn ColumnRegistrationOffice
 The office that entered this assignment. More...
 
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 = 239
 TableId for Ict.Common.Data generic functions. More...
 
static readonly short ColumnPartnerKeyId = 0
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnUnitKeyId = 1
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnPositionNameId = 2
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnPositionScopeId = 3
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnJobKeyId = 4
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnJobAssignmentKeyId = 5
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnAssistantToId = 6
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnAssignmentTypeCodeId = 7
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnCostsChangedFlagId = 8
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnFromDateId = 9
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnToDateId = 10
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnHrdCpyDetailChangeFlagId = 11
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnDeleteableFlagId = 12
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnRegistrationOfficeId = 13
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnDateCreatedId = 14
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnCreatedById = 15
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnDateModifiedId = 16
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnModifiedById = 17
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnModificationIdId = 18
 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

PmJobAssignmentRow 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

This defines the position one fills.

Constructor & Destructor Documentation

◆ PmJobAssignmentTable() [1/3]

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

constructor

◆ PmJobAssignmentTable() [2/3]

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

constructor

◆ PmJobAssignmentTable() [3/3]

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

◆ GetAssignmentTypeCodeDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetAssignmentTypeCodeDBName ( )
inlinestatic

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

◆ GetAssignmentTypeCodeHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetAssignmentTypeCodeHelp ( )
inlinestatic

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

◆ GetAssignmentTypeCodeLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetAssignmentTypeCodeLength ( )
inlinestatic

get character length for column

◆ GetAssistantToDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetAssistantToDBName ( )
inlinestatic

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

◆ GetAssistantToHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetAssistantToHelp ( )
inlinestatic

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

◆ GetAssistantToLength()

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

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

◆ GetCostsChangedFlagDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetCostsChangedFlagDBName ( )
inlinestatic

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

◆ GetCostsChangedFlagHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetCostsChangedFlagHelp ( )
inlinestatic

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

◆ GetCostsChangedFlagLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetCostsChangedFlagLength ( )
inlinestatic

get character length for column

◆ GetCreatedByDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetCreatedByDBName ( )
inlinestatic

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

◆ GetCreatedByHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetCreatedByHelp ( )
inlinestatic

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

◆ GetCreatedByLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.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.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetDateCreatedDBName ( )
inlinestatic

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

◆ GetDateCreatedHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetDateCreatedHelp ( )
inlinestatic

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

◆ GetDateCreatedLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetDateCreatedLength ( )
inlinestatic

get character length for column

◆ GetDateModifiedDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetDateModifiedDBName ( )
inlinestatic

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

◆ GetDateModifiedHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetDateModifiedHelp ( )
inlinestatic

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

◆ GetDateModifiedLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetDateModifiedLength ( )
inlinestatic

get character length for column

◆ GetDeleteableFlagDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetDeleteableFlagDBName ( )
inlinestatic

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

◆ GetDeleteableFlagHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetDeleteableFlagHelp ( )
inlinestatic

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

◆ GetDeleteableFlagLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetDeleteableFlagLength ( )
inlinestatic

get character length for column

◆ GetFromDateDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetFromDateDBName ( )
inlinestatic

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

◆ GetFromDateHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetFromDateHelp ( )
inlinestatic

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

◆ GetFromDateLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetFromDateLength ( )
inlinestatic

get character length for column

◆ GetHrdCpyDetailChangeFlagDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetHrdCpyDetailChangeFlagDBName ( )
inlinestatic

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

◆ GetHrdCpyDetailChangeFlagHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetHrdCpyDetailChangeFlagHelp ( )
inlinestatic

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

◆ GetHrdCpyDetailChangeFlagLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetHrdCpyDetailChangeFlagLength ( )
inlinestatic

get character length for column

◆ GetJobAssignmentKeyDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetJobAssignmentKeyDBName ( )
inlinestatic

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

◆ GetJobAssignmentKeyHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetJobAssignmentKeyHelp ( )
inlinestatic

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

◆ GetJobAssignmentKeyLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetJobAssignmentKeyLength ( )
inlinestatic

get character length for column

◆ GetJobKeyDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetJobKeyDBName ( )
inlinestatic

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

◆ GetJobKeyHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetJobKeyHelp ( )
inlinestatic

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

◆ GetJobKeyLength()

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

◆ GetModificationIdDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetModificationIdDBName ( )
inlinestatic

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

◆ GetModificationIdHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetModificationIdHelp ( )
inlinestatic

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

◆ GetModificationIdLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetModificationIdLength ( )
inlinestatic

get character length for column

◆ GetModifiedByDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetModifiedByDBName ( )
inlinestatic

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

◆ GetModifiedByHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetModifiedByHelp ( )
inlinestatic

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

◆ GetModifiedByLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetModifiedByLength ( )
inlinestatic

get character length for column

◆ GetPartnerKeyDBName()

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

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

◆ GetPartnerKeyHelp()

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

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

◆ GetPartnerKeyLength()

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

get character length for column

◆ GetPositionNameDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetPositionNameDBName ( )
inlinestatic

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

◆ GetPositionNameHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetPositionNameHelp ( )
inlinestatic

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

◆ GetPositionNameLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetPositionNameLength ( )
inlinestatic

get character length for column

◆ GetPositionScopeDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetPositionScopeDBName ( )
inlinestatic

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

◆ GetPositionScopeHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetPositionScopeHelp ( )
inlinestatic

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

◆ GetPositionScopeLength()

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

◆ GetRegistrationOfficeDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetRegistrationOfficeDBName ( )
inlinestatic

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

◆ GetRegistrationOfficeHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetRegistrationOfficeHelp ( )
inlinestatic

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

◆ GetRegistrationOfficeLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetRegistrationOfficeLength ( )
inlinestatic

get character length for column

◆ GetTableByName()

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

the table name in CamelCase

◆ GetTableDBLabel()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.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.PmJobAssignmentTable.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.PmJobAssignmentTable.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

◆ GetToDateDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetToDateDBName ( )
inlinestatic

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

◆ GetToDateHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetToDateHelp ( )
inlinestatic

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

◆ GetToDateLength()

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

◆ GetUnitKeyDBName()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetUnitKeyDBName ( )
inlinestatic

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

◆ GetUnitKeyHelp()

static string Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetUnitKeyHelp ( )
inlinestatic

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

◆ GetUnitKeyLength()

static short Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.GetUnitKeyLength ( )
inlinestatic

get character length for column

◆ InitClass()

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

create the columns

Implements Ict.Common.Data.TTypedDataTable.

◆ InitVars()

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

new typed row using DataRowBuilder

◆ NewRowTyped() [1/2]

PmJobAssignmentRow Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.NewRowTyped ( )
inline

create a new typed row, always with default values

◆ NewRowTyped() [2/2]

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

◆ ColumnAssignmentTypeCode

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnAssignmentTypeCode

This defines the type of assignment.

◆ ColumnAssignmentTypeCodeId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnAssignmentTypeCodeId = 7
static

used for generic TTypedDataTable functions

◆ ColumnAssistantTo

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnAssistantTo

Indicates if the assignment is in assistance to the given position.

◆ ColumnAssistantToId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnAssistantToId = 6
static

used for generic TTypedDataTable functions

◆ ColumnCostsChangedFlag

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnCostsChangedFlag

Can these costs be changed?

◆ ColumnCostsChangedFlagId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnCostsChangedFlagId = 8
static

used for generic TTypedDataTable functions

◆ ColumnCreatedBy

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnCreatedBy

User ID of who created this record.

◆ ColumnCreatedById

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnCreatedById = 15
static

used for generic TTypedDataTable functions

◆ ColumnDateCreated

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnDateCreated

The date the record was created.

◆ ColumnDateCreatedId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnDateCreatedId = 14
static

used for generic TTypedDataTable functions

◆ ColumnDateModified

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnDateModified

The date the record was modified.

◆ ColumnDateModifiedId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnDateModifiedId = 16
static

used for generic TTypedDataTable functions

◆ ColumnDeleteableFlag

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnDeleteableFlag

This field indicates if the record is deletable.

◆ ColumnDeleteableFlagId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnDeleteableFlagId = 12
static

used for generic TTypedDataTable functions

◆ ColumnFromDate

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnFromDate

This is the date from which this job is assigned.

◆ ColumnFromDateId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnFromDateId = 9
static

used for generic TTypedDataTable functions

◆ ColumnHrdCpyDetailChangeFlag

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnHrdCpyDetailChangeFlag

This field indicates if the hard copy details have been changed.

◆ ColumnHrdCpyDetailChangeFlagId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnHrdCpyDetailChangeFlagId = 11
static

used for generic TTypedDataTable functions

◆ ColumnJobAssignmentKey

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnJobAssignmentKey

A number to make this unique as other wise we would need to add date from/to.

◆ ColumnJobAssignmentKeyId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnJobAssignmentKeyId = 5
static

used for generic TTypedDataTable functions

◆ ColumnJobKey

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnJobKey

◆ ColumnJobKeyId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnJobKeyId = 4
static

used for generic TTypedDataTable functions

◆ ColumnModificationId

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnModificationId

This identifies the current version of the record.

◆ ColumnModificationIdId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnModificationIdId = 18
static

used for generic TTypedDataTable functions

◆ ColumnModifiedBy

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnModifiedBy

User ID of who last modified this record.

◆ ColumnModifiedById

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnModifiedById = 17
static

used for generic TTypedDataTable functions

◆ ColumnPartnerKey

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.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.PmJobAssignmentTable.ColumnPartnerKeyId = 0
static

used for generic TTypedDataTable functions

◆ ColumnPositionName

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnPositionName

Name of the position.

◆ ColumnPositionNameId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnPositionNameId = 2
static

used for generic TTypedDataTable functions

◆ ColumnPositionScope

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnPositionScope

Scope of the position.

◆ ColumnPositionScopeId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnPositionScopeId = 3
static

used for generic TTypedDataTable functions

◆ ColumnRegistrationOffice

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnRegistrationOffice

The office that entered this assignment.

◆ ColumnRegistrationOfficeId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnRegistrationOfficeId = 13
static

used for generic TTypedDataTable functions

◆ ColumnToDate

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnToDate

This is the date to which a job is expected to be filled.

◆ ColumnToDateId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnToDateId = 10
static

used for generic TTypedDataTable functions

◆ ColumnUnitKey

DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnUnitKey

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

◆ ColumnUnitKeyId

readonly short Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.ColumnUnitKeyId = 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.MPersonnel.Personnel.Data.PmJobAssignmentTable.TableId = 239
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.PmJobAssignmentTable.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]

PmJobAssignmentRow Ict.Petra.Shared.MPersonnel.Personnel.Data.PmJobAssignmentTable.this[int i]
get

Access a typed row by index.


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