OpenPetra
Free Administration Software for Non-Profits
|
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...
Public Member Functions | |
IndividualDataTDSPPartnerAttributeTable () | |
constructor More... | |
IndividualDataTDSPPartnerAttributeTable (string ATablename) | |
constructor More... | |
IndividualDataTDSPPartnerAttributeTable (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 IndividualDataTDSPPartnerAttributeRow | NewRowTyped (bool AWithDefaultValues) |
create a new typed row More... | |
new IndividualDataTDSPPartnerAttributeRow | NewRowTyped () |
create a new typed row, always with default values More... | |
new IndividualDataTDSPPartnerAttributeTable | 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 | 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 | 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 | 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, TTypedTableInfo > | TableInfo = new SortedList <short, TTypedTableInfo>() |
stores information about typed tables More... | |
Properties | |
new IndividualDataTDSPPartnerAttributeRow | 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... | |
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.
|
inline |
constructor
|
inline |
constructor
|
inline |
constructor for serialization
|
inlinevirtual |
get an odbc parameter for the given column
Reimplemented from Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.
|
inlinestaticinherited |
create an odbc parameter for the given column
|
inlinestaticinherited |
create an odbc parameter for the given column
|
inlinestaticinherited |
get the name of the field in the database for this column
|
inlinestaticinherited |
get the help text for the field in the database for this column
|
inlinestaticinherited |
get character length for column
|
inlineinherited |
make sure that we use GetChangesType instead of GetChanges
|
inline |
get typed set of changes
|
inlineinherited |
our own version of GetChanges
|
inlinestaticinherited |
the column name as it is in the SQL database
|
inlinestaticinherited |
get the names of the columns in this table
|
inlinestaticinherited |
get the name of the field in the database for this column
|
inlinestaticinherited |
get the help text for the field in the database for this column
|
inlinestaticinherited |
get character length for column
|
inlinestaticinherited |
get the name of the field in the database for this column
|
inlinestaticinherited |
get the help text for the field in the database for this column
|
inlinestaticinherited |
get character length for column
|
inlinestaticinherited |
get the name of the field in the database for this column
|
inlinestaticinherited |
get the help text for the field in the database for this column
|
inlinestaticinherited |
get character length for column
|
inlinestaticinherited |
get the name of the field in the database for this column
|
inlinestaticinherited |
get the help text for the field in the database for this column
|
inlinestaticinherited |
get character length for column
|
inlinevirtualinherited |
Return a list of fields that are available for custom reports
|
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
|
inlinestaticinherited |
get the name of the field in the database for this column
|
inlinestaticinherited |
get the help text for the field in the database for this column
|
inlinestaticinherited |
get character length for column
|
inlinestaticinherited |
get the name of the field in the database for this column
|
inlinestaticinherited |
get the help text for the field in the database for this column
|
inlinestaticinherited |
get character length for column
|
inlinestaticinherited |
get the name of the field in the database for this column
|
inlinestaticinherited |
get the help text for the field in the database for this column
|
inlinestaticinherited |
get character length for column
|
inlinestaticinherited |
get the names of the columns that are part of the key
|
inlinestaticinherited |
returns the translated label for the column
|
inlinestaticinherited |
get the maximum length for the field
|
inlinestaticinherited |
get the maximum length for the field
|
inlinestaticinherited |
get the name of the field in the database for this column
|
inlinestaticinherited |
get the help text for the field in the database for this column
|
inlinestaticinherited |
get character length for column
|
inlinestaticinherited |
get the name of the field in the database for this column
|
inlinestaticinherited |
get the help text for the field in the database for this column
|
inlinestaticinherited |
get character length for column
|
inlinestaticinherited |
get the name of the field in the database for this column
|
inlinestaticinherited |
get the help text for the field in the database for this column
|
inlinestaticinherited |
get character length for column
|
inlinestatic |
get the name of the field in the database for this column
|
inlinestatic |
get the help text for the field in the database for this column
|
inlinestatic |
get character length for column
|
inlinestaticinherited |
get the name of the field in the database for this column
|
inlinestaticinherited |
get the help text for the field in the database for this column
|
inlinestaticinherited |
get character length for column
|
inlinestaticinherited |
get the name of the field in the database for this column
|
inlinestaticinherited |
get the help text for the field in the database for this column
|
inlinestaticinherited |
get the order number of the columns that are part of the primary key
|
inlinestaticinherited |
get the names of the columns that are part of the primary key
|
inlinestaticinherited |
get character length for column
|
inlinestaticinherited |
get the name of the field in the database for this column
|
inlinestaticinherited |
get the help text for the field in the database for this column
|
inlinestaticinherited |
get character length for column
|
inlinestaticinherited |
get the name of the field in the database for this column
|
inlinestaticinherited |
get the help text for the field in the database for this column
|
inlinestaticinherited |
get character length for column
|
inlinestaticinherited |
the table name in CamelCase
|
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)
|
inlinestatic |
return the name of the table as it is used in the database
|
inlinestatic |
return the CamelCase name of the table
|
inlinestaticinherited |
the table name in CamelCase
|
inlinestaticinherited |
the table name as it is in the SQL database
|
inlinestaticinherited |
get the order number of the columns that are part of a unique key
|
inlinestaticinherited |
get the names of the columns that are part of the unique key
|
inlinestaticinherited |
get the name of the field in the database for this column
|
inlinestaticinherited |
get the help text for the field in the database for this column
|
inlinestaticinherited |
get character length for column
|
inlinestaticinherited |
get the name of the field in the database for this column
|
inlinestaticinherited |
get the help text for the field in the database for this column
|
inlinestaticinherited |
get character length for column
|
inlinestaticinherited |
get the name of the field in the database for this column
|
inlinestaticinherited |
get the help text for the field in the database for this column
|
inlinestaticinherited |
get character length for column
|
inlineprotectedvirtual |
create the columns
Reimplemented from Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.
|
inlinevirtual |
assign columns to properties, set primary key
Reimplemented from Ict.Petra.Shared.MPartner.Partner.Data.PPartnerAttributeTable.
|
inlinevirtualinherited |
Is this table generally available in custom reports?
|
inlineprotected |
new typed row using DataRowBuilder
|
inline |
create a new typed row, always with default values
|
inline |
create a new typed row
|
inlineinherited |
remove columns that are not needed
ATableTemplate | this table only contains the columns that should be kept |
|
inlinestaticinherited |
reset the static variables for each Web Request call.
|
inherited |
The Partner Attribute Type that the Partner Attribute that is assigned here has got.
|
staticinherited |
used for generic TTypedDataTable functions
|
inherited |
Any comment to explain this attribute value, or some additional info that may be required.
|
staticinherited |
used for generic TTypedDataTable functions
|
inherited |
Flag to indicate whether this Partner Attribute is confidential.
|
staticinherited |
used for generic TTypedDataTable functions
|
inherited |
User ID of who created this record.
|
staticinherited |
used for generic TTypedDataTable functions
|
inherited |
Flag to indicate whether this Partner Attribute is current.
|
staticinherited |
used for generic TTypedDataTable functions
|
inherited |
The date the record was created.
|
staticinherited |
used for generic TTypedDataTable functions
|
inherited |
The date the record was modified.
|
staticinherited |
used for generic TTypedDataTable functions
|
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).
|
staticinherited |
used for generic TTypedDataTable functions
|
inherited |
This identifies the current version of the record.
|
staticinherited |
used for generic TTypedDataTable functions
|
inherited |
User ID of who last modified this record.
|
staticinherited |
used for generic TTypedDataTable functions
|
inherited |
When this Partner Attribute value is no longer current from.
|
staticinherited |
used for generic TTypedDataTable functions
DataColumn Ict.Petra.Shared.MPersonnel.Personnel.Data.IndividualDataTDSPPartnerAttributeTable.ColumnPartnerContactDetail |
|
static |
used for generic TTypedDataTable functions
|
inherited |
This is the partner key assigned to each partner. It consists of the fund id followed by a computer generated six digit number.
|
staticinherited |
used for generic TTypedDataTable functions
|
inherited |
Flag to indicate whether this Partner Attribute is the primary one among several that have the same Partner Attribute Type.
|
staticinherited |
used for generic TTypedDataTable functions
|
inherited |
A normal sequence so that each partner can have more than one value for any particular attribute type.
|
staticinherited |
used for generic TTypedDataTable functions
|
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.
|
staticinherited |
used for generic TTypedDataTable functions
|
inherited |
The value of the attribute.
|
inherited |
The country of the value of the attribute (only relevant for Telephone and Fax Numbers).
|
staticinherited |
used for generic TTypedDataTable functions
|
staticinherited |
used for generic TTypedDataTable functions
|
inherited |
Flag to indicate whether this Partner Attribute is for use within The Organisation.
|
staticinherited |
used for generic TTypedDataTable functions
|
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
|
static |
TableId for Ict.Common.Data generic functions.
|
staticprotectedinherited |
stores information about typed tables
|
inherited |
if you want the datatable to be cleared after submitchanges. This will increase the speed significantly: no updating of modificationID, no slow AcceptChanges.
|
getinherited |
the number of rows in the current table
|
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)
|
get |
Access a typed row by index.