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

Mainly introduced for Partner Contact Details like email addresses and (mobile) phone numbers, but can be used for any attribute we might want to save for a Partner. More...

Inheritance diagram for Ict.Petra.Shared.MPartner.Partner.Data.PartnerEditTDSPPartnerAttributeTable:
Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable Ict.Common.Data.TTypedDataTable

Public Member Functions

 PartnerEditTDSPPartnerAttributeTable ()
 constructor More...
 
 PartnerEditTDSPPartnerAttributeTable (string ATablename)
 constructor More...
 
 PartnerEditTDSPPartnerAttributeTable (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...
 
new PartnerEditTDSPPartnerAttributeRow NewRowTyped (bool AWithDefaultValues)
 create a new typed row More...
 
new PartnerEditTDSPPartnerAttributeRow NewRowTyped ()
 create a new typed row, always with default values More...
 
new PartnerEditTDSPPartnerAttributeTable 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 new string GetTableName ()
 return the CamelCase name of the table More...
 
static new string GetTableDBName ()
 return the name of the table as it is used in the database More...
 
static new 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 GetPartnerContactDetailDBName ()
 get the name of the field in the database for this column More...
 
static short GetPartnerContactDetailLength ()
 get character length for column More...
 
static string GetPartnerContactDetailHelp ()
 get the help text for the field in the database for this column More...
 
static string GetCategoryCodeDBName ()
 get the name of the field in the database for this column More...
 
static short GetCategoryCodeLength ()
 get character length for column More...
 
static string GetCategoryCodeHelp ()
 get the help text for the field in the database for this column More...
 
static string GetTableName (short ATableNumber)
 the table name in CamelCase 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 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 GetAttributeTypeDBName ()
 get the name of the field in the database for this column More...
 
static short GetAttributeTypeLength ()
 get character length for column More...
 
static string GetAttributeTypeHelp ()
 get the help text for the field in the database for this column More...
 
static string GetSequenceDBName ()
 get the name of the field in the database for this column More...
 
static short GetSequenceLength ()
 get character length for column More...
 
static string GetSequenceHelp ()
 get the help text for the field in the database for this column More...
 
static string GetIndexDBName ()
 get the name of the field in the database for this column More...
 
static short GetIndexLength ()
 get character length for column More...
 
static string GetIndexHelp ()
 get the help text for the field in the database for this column More...
 
static string GetValueDBName ()
 get the name of the field in the database for this column More...
 
static short GetValueLength ()
 get character length for column More...
 
static string GetValueHelp ()
 get the help text for the field in the database for this column More...
 
static string GetValueCountryDBName ()
 get the name of the field in the database for this column More...
 
static short GetValueCountryLength ()
 get character length for column More...
 
static string GetValueCountryHelp ()
 get the help text for the field in the database for this column More...
 
static string GetCommentDBName ()
 get the name of the field in the database for this column More...
 
static short GetCommentLength ()
 get character length for column More...
 
static string GetCommentHelp ()
 get the help text for the field in the database for this column More...
 
static string GetPrimaryDBName ()
 get the name of the field in the database for this column More...
 
static short GetPrimaryLength ()
 get character length for column More...
 
static string GetPrimaryHelp ()
 get the help text for the field in the database for this column More...
 
static string GetWithinOrganisationDBName ()
 get the name of the field in the database for this column More...
 
static short GetWithinOrganisationLength ()
 get character length for column More...
 
static string GetWithinOrganisationHelp ()
 get the help text for the field in the database for this column More...
 
static string GetSpecialisedDBName ()
 get the name of the field in the database for this column More...
 
static short GetSpecialisedLength ()
 get character length for column More...
 
static string GetSpecialisedHelp ()
 get the help text for the field in the database for this column More...
 
static string GetConfidentialDBName ()
 get the name of the field in the database for this column More...
 
static short GetConfidentialLength ()
 get character length for column More...
 
static string GetConfidentialHelp ()
 get the help text for the field in the database for this column More...
 
static string GetCurrentDBName ()
 get the name of the field in the database for this column More...
 
static short GetCurrentLength ()
 get character length for column More...
 
static string GetCurrentHelp ()
 get the help text for the field in the database for this column More...
 
static string GetNoLongerCurrentFromDBName ()
 get the name of the field in the database for this column More...
 
static short GetNoLongerCurrentFromLength ()
 get character length for column More...
 
static string GetNoLongerCurrentFromHelp ()
 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 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 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 ColumnPartnerContactDetail
 
DataColumn ColumnCategoryCode
 Code for Partner Attribute Category. Use plural words/phrases (e.g. 'Phone Numbers' and not 'Phone Number') More...
 
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 ColumnAttributeType
 The Partner Attribute Type that the Partner Attribute that is assigned here has got. More...
 
DataColumn ColumnSequence
 A normal sequence so that each partner can have more than one value for any particular attribute type. More...
 
DataColumn ColumnIndex
 Allows for manual ordering of Partner Attributes within a Partner Attribute Type by the user (e.g. re-ordering of phone numbers within the 'Phone Number' Partner Attribute Type). More...
 
DataColumn ColumnValue
 The value of the attribute. More...
 
DataColumn ColumnValueCountry
 The country of the value of the attribute (only relevant for Telephone and Fax Numbers). More...
 
DataColumn ColumnComment
 Any comment to explain this attribute value, or some additional info that may be required. More...
 
DataColumn ColumnPrimary
 Flag to indicate whether this Partner Attribute is the primary one among several that have the same Partner Attribute Type. More...
 
DataColumn ColumnWithinOrganisation
 Flag to indicate whether this Partner Attribute is for use within The Organisation. More...
 
DataColumn ColumnSpecialised
 Flag to indicate whether this Partner Attribute is specialised. For Partner Contact Details this flag is set for work-related Partner Attribute Types. The label is set in p_partner_attribute_type.p_special_label_c, eg. Business. More...
 
DataColumn ColumnConfidential
 Flag to indicate whether this Partner Attribute is confidential. More...
 
DataColumn ColumnCurrent
 Flag to indicate whether this Partner Attribute is current. More...
 
DataColumn ColumnNoLongerCurrentFrom
 When this Partner Attribute value is no longer current from. 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 new readonly short TableId = 43
 TableId for Ict.Common.Data generic functions. More...
 
static readonly short ColumnPartnerContactDetailId = 18
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnCategoryCodeId = 19
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnPartnerKeyId = 0
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnAttributeTypeId = 1
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnSequenceId = 2
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnIndexId = 3
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnValueId = 4
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnValueCountryId = 5
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnCommentId = 6
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnPrimaryId = 7
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnWithinOrganisationId = 8
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnSpecialisedId = 9
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnConfidentialId = 10
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnCurrentId = 11
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnNoLongerCurrentFromId = 12
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnDateCreatedId = 13
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnCreatedById = 14
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnDateModifiedId = 15
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnModifiedById = 16
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnModificationIdId = 17
 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

new PartnerEditTDSPPartnerAttributeRow 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

Mainly introduced for Partner Contact Details like email addresses and (mobile) phone numbers, but can be used for any attribute we might want to save for a Partner.

Constructor & Destructor Documentation

◆ PartnerEditTDSPPartnerAttributeTable() [1/3]

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

constructor

◆ PartnerEditTDSPPartnerAttributeTable() [2/3]

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

constructor

◆ PartnerEditTDSPPartnerAttributeTable() [3/3]

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

◆ GetAttributeTypeDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetAttributeTypeDBName ( )
inlinestaticinherited

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

◆ GetAttributeTypeHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetAttributeTypeHelp ( )
inlinestaticinherited

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

◆ GetAttributeTypeLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetAttributeTypeLength ( )
inlinestaticinherited

get character length for column

◆ GetCategoryCodeDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PartnerEditTDSPPartnerAttributeTable.GetCategoryCodeDBName ( )
inlinestatic

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

◆ GetCategoryCodeHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PartnerEditTDSPPartnerAttributeTable.GetCategoryCodeHelp ( )
inlinestatic

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

◆ GetCategoryCodeLength()

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

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

◆ GetCommentDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetCommentDBName ( )
inlinestaticinherited

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

◆ GetCommentHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetCommentHelp ( )
inlinestaticinherited

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

◆ GetCommentLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetCommentLength ( )
inlinestaticinherited

get character length for column

◆ GetConfidentialDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetConfidentialDBName ( )
inlinestaticinherited

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

◆ GetConfidentialHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetConfidentialHelp ( )
inlinestaticinherited

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

◆ GetConfidentialLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetConfidentialLength ( )
inlinestaticinherited

get character length for column

◆ GetCreatedByDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetCreatedByDBName ( )
inlinestaticinherited

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

◆ GetCreatedByHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetCreatedByHelp ( )
inlinestaticinherited

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

◆ GetCreatedByLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetCreatedByLength ( )
inlinestaticinherited

get character length for column

◆ GetCurrentDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetCurrentDBName ( )
inlinestaticinherited

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

◆ GetCurrentHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetCurrentHelp ( )
inlinestaticinherited

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

◆ GetCurrentLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetCurrentLength ( )
inlinestaticinherited

get character length for column

◆ GetCustomReportFieldList()

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

Return a list of fields that are available for custom reports

◆ GetCustomReportPermission()

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

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

◆ GetDateCreatedDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetDateCreatedDBName ( )
inlinestaticinherited

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

◆ GetDateCreatedHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetDateCreatedHelp ( )
inlinestaticinherited

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

◆ GetDateCreatedLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetDateCreatedLength ( )
inlinestaticinherited

get character length for column

◆ GetDateModifiedDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetDateModifiedDBName ( )
inlinestaticinherited

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

◆ GetDateModifiedHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetDateModifiedHelp ( )
inlinestaticinherited

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

◆ GetDateModifiedLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetDateModifiedLength ( )
inlinestaticinherited

get character length for column

◆ GetIndexDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetIndexDBName ( )
inlinestaticinherited

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

◆ GetIndexHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetIndexHelp ( )
inlinestaticinherited

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

◆ GetIndexLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetIndexLength ( )
inlinestaticinherited

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.MPartner.Partner.Data.PPartnerAttributeTable.GetModificationIdDBName ( )
inlinestaticinherited

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

◆ GetModificationIdHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetModificationIdHelp ( )
inlinestaticinherited

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

◆ GetModificationIdLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetModificationIdLength ( )
inlinestaticinherited

get character length for column

◆ GetModifiedByDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetModifiedByDBName ( )
inlinestaticinherited

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

◆ GetModifiedByHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetModifiedByHelp ( )
inlinestaticinherited

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

◆ GetModifiedByLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetModifiedByLength ( )
inlinestaticinherited

get character length for column

◆ GetNoLongerCurrentFromDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetNoLongerCurrentFromDBName ( )
inlinestaticinherited

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

◆ GetNoLongerCurrentFromHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetNoLongerCurrentFromHelp ( )
inlinestaticinherited

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

◆ GetNoLongerCurrentFromLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetNoLongerCurrentFromLength ( )
inlinestaticinherited

get character length for column

◆ GetPartnerContactDetailDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PartnerEditTDSPPartnerAttributeTable.GetPartnerContactDetailDBName ( )
inlinestatic

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

◆ GetPartnerContactDetailHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PartnerEditTDSPPartnerAttributeTable.GetPartnerContactDetailHelp ( )
inlinestatic

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

◆ GetPartnerContactDetailLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PartnerEditTDSPPartnerAttributeTable.GetPartnerContactDetailLength ( )
inlinestatic

get character length for column

◆ GetPartnerKeyDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetPartnerKeyDBName ( )
inlinestaticinherited

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

◆ GetPartnerKeyHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetPartnerKeyHelp ( )
inlinestaticinherited

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

◆ GetPartnerKeyLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetPartnerKeyLength ( )
inlinestaticinherited

get character length for column

◆ GetPrimaryDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetPrimaryDBName ( )
inlinestaticinherited

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

◆ GetPrimaryHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetPrimaryHelp ( )
inlinestaticinherited

get the help text for the field in the database for this 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

◆ GetPrimaryLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetPrimaryLength ( )
inlinestaticinherited

get character length for column

◆ GetSequenceDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetSequenceDBName ( )
inlinestaticinherited

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

◆ GetSequenceHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetSequenceHelp ( )
inlinestaticinherited

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

◆ GetSequenceLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetSequenceLength ( )
inlinestaticinherited

get character length for column

◆ GetSpecialisedDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetSpecialisedDBName ( )
inlinestaticinherited

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

◆ GetSpecialisedHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetSpecialisedHelp ( )
inlinestaticinherited

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

◆ GetSpecialisedLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetSpecialisedLength ( )
inlinestaticinherited

get character length for column

◆ GetTableByName()

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

the table name in CamelCase

◆ GetTableDBLabel()

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

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

◆ GetTableName() [1/2]

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

◆ GetValueCountryDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetValueCountryDBName ( )
inlinestaticinherited

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

◆ GetValueCountryHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetValueCountryHelp ( )
inlinestaticinherited

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

◆ GetValueCountryLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetValueCountryLength ( )
inlinestaticinherited

get character length for column

◆ GetValueDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetValueDBName ( )
inlinestaticinherited

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

◆ GetValueHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetValueHelp ( )
inlinestaticinherited

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

◆ GetValueLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetValueLength ( )
inlinestaticinherited

get character length for column

◆ GetWithinOrganisationDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetWithinOrganisationDBName ( )
inlinestaticinherited

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

◆ GetWithinOrganisationHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetWithinOrganisationHelp ( )
inlinestaticinherited

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

◆ GetWithinOrganisationLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.GetWithinOrganisationLength ( )
inlinestaticinherited

get character length for column

◆ InitClass()

override void Ict.Petra.Shared.MPartner.Partner.Data.PartnerEditTDSPPartnerAttributeTable.InitClass ( )
inlineprotectedvirtual

create the columns

Implements Ict.Common.Data.TTypedDataTable.

◆ InitVars()

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

new typed row using DataRowBuilder

◆ NewRowTyped() [1/2]

new PartnerEditTDSPPartnerAttributeRow Ict.Petra.Shared.MPartner.Partner.Data.PartnerEditTDSPPartnerAttributeTable.NewRowTyped ( )
inline

create a new typed row, always with default values

◆ NewRowTyped() [2/2]

new PartnerEditTDSPPartnerAttributeRow Ict.Petra.Shared.MPartner.Partner.Data.PartnerEditTDSPPartnerAttributeTable.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

◆ ColumnAttributeType

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnAttributeType
inherited

The Partner Attribute Type that the Partner Attribute that is assigned here has got.

◆ ColumnAttributeTypeId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnAttributeTypeId = 1
staticinherited

used for generic TTypedDataTable functions

◆ ColumnCategoryCode

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PartnerEditTDSPPartnerAttributeTable.ColumnCategoryCode

Code for Partner Attribute Category. Use plural words/phrases (e.g. 'Phone Numbers' and not 'Phone Number')

◆ ColumnCategoryCodeId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PartnerEditTDSPPartnerAttributeTable.ColumnCategoryCodeId = 19
static

used for generic TTypedDataTable functions

◆ ColumnComment

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnComment
inherited

Any comment to explain this attribute value, or some additional info that may be required.

◆ ColumnCommentId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnCommentId = 6
staticinherited

used for generic TTypedDataTable functions

◆ ColumnConfidential

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnConfidential
inherited

Flag to indicate whether this Partner Attribute is confidential.

◆ ColumnConfidentialId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnConfidentialId = 10
staticinherited

used for generic TTypedDataTable functions

◆ ColumnCreatedBy

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnCreatedBy
inherited

User ID of who created this record.

◆ ColumnCreatedById

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnCreatedById = 14
staticinherited

used for generic TTypedDataTable functions

◆ ColumnCurrent

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnCurrent
inherited

Flag to indicate whether this Partner Attribute is current.

◆ ColumnCurrentId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnCurrentId = 11
staticinherited

used for generic TTypedDataTable functions

◆ ColumnDateCreated

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnDateCreated
inherited

The date the record was created.

◆ ColumnDateCreatedId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnDateCreatedId = 13
staticinherited

used for generic TTypedDataTable functions

◆ ColumnDateModified

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnDateModified
inherited

The date the record was modified.

◆ ColumnDateModifiedId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnDateModifiedId = 15
staticinherited

used for generic TTypedDataTable functions

◆ ColumnIndex

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnIndex
inherited

Allows for manual ordering of Partner Attributes within a Partner Attribute Type by the user (e.g. re-ordering of phone numbers within the 'Phone Number' Partner Attribute Type).

◆ ColumnIndexId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnIndexId = 3
staticinherited

used for generic TTypedDataTable functions

◆ ColumnModificationId

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnModificationId
inherited

This identifies the current version of the record.

◆ ColumnModificationIdId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnModificationIdId = 17
staticinherited

used for generic TTypedDataTable functions

◆ ColumnModifiedBy

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnModifiedBy
inherited

User ID of who last modified this record.

◆ ColumnModifiedById

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnModifiedById = 16
staticinherited

used for generic TTypedDataTable functions

◆ ColumnNoLongerCurrentFrom

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnNoLongerCurrentFrom
inherited

When this Partner Attribute value is no longer current from.

◆ ColumnNoLongerCurrentFromId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnNoLongerCurrentFromId = 12
staticinherited

used for generic TTypedDataTable functions

◆ ColumnPartnerContactDetail

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PartnerEditTDSPPartnerAttributeTable.ColumnPartnerContactDetail

◆ ColumnPartnerContactDetailId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PartnerEditTDSPPartnerAttributeTable.ColumnPartnerContactDetailId = 18
static

used for generic TTypedDataTable functions

◆ ColumnPartnerKey

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnPartnerKey
inherited

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

◆ ColumnPartnerKeyId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnPartnerKeyId = 0
staticinherited

used for generic TTypedDataTable functions

◆ ColumnPrimary

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnPrimary
inherited

Flag to indicate whether this Partner Attribute is the primary one among several that have the same Partner Attribute Type.

◆ ColumnPrimaryId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnPrimaryId = 7
staticinherited

used for generic TTypedDataTable functions

◆ ColumnSequence

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnSequence
inherited

A normal sequence so that each partner can have more than one value for any particular attribute type.

◆ ColumnSequenceId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnSequenceId = 2
staticinherited

used for generic TTypedDataTable functions

◆ ColumnSpecialised

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnSpecialised
inherited

Flag to indicate whether this Partner Attribute is specialised. For Partner Contact Details this flag is set for work-related Partner Attribute Types. The label is set in p_partner_attribute_type.p_special_label_c, eg. Business.

◆ ColumnSpecialisedId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnSpecialisedId = 9
staticinherited

used for generic TTypedDataTable functions

◆ ColumnValue

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnValue
inherited

The value of the attribute.

◆ ColumnValueCountry

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnValueCountry
inherited

The country of the value of the attribute (only relevant for Telephone and Fax Numbers).

◆ ColumnValueCountryId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnValueCountryId = 5
staticinherited

used for generic TTypedDataTable functions

◆ ColumnValueId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnValueId = 4
staticinherited

used for generic TTypedDataTable functions

◆ ColumnWithinOrganisation

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnWithinOrganisation
inherited

Flag to indicate whether this Partner Attribute is for use within The Organisation.

◆ ColumnWithinOrganisationId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.ColumnWithinOrganisationId = 8
staticinherited

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

new readonly short Ict.Petra.Shared.MPartner.Partner.Data.PartnerEditTDSPPartnerAttributeTable.TableId = 43
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.PartnerEditTDSPPartnerAttributeTable.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]

new PartnerEditTDSPPartnerAttributeRow Ict.Petra.Shared.MPartner.Partner.Data.PartnerEditTDSPPartnerAttributeTable.this[int i]
get

Access a typed row by index.


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