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

A proposal may be for more than one project or key ministry. More...

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

Public Member Functions

 PFoundationProposalDetailTable ()
 constructor More...
 
 PFoundationProposalDetailTable (string ATablename)
 constructor More...
 
 PFoundationProposalDetailTable (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...
 
PFoundationProposalDetailRow NewRowTyped (bool AWithDefaultValues)
 create a new typed row More...
 
PFoundationProposalDetailRow NewRowTyped ()
 create a new typed row, always with default values More...
 
PFoundationProposalDetailTable 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 GetFoundationPartnerKeyDBName ()
 get the name of the field in the database for this column More...
 
static short GetFoundationPartnerKeyLength ()
 get character length for column More...
 
static string GetFoundationPartnerKeyHelp ()
 get the help text for the field in the database for this column More...
 
static string GetFoundationProposalKeyDBName ()
 get the name of the field in the database for this column More...
 
static short GetFoundationProposalKeyLength ()
 get character length for column More...
 
static string GetFoundationProposalKeyHelp ()
 get the help text for the field in the database for this column More...
 
static string GetProposalDetailIdDBName ()
 get the name of the field in the database for this column More...
 
static short GetProposalDetailIdLength ()
 get character length for column More...
 
static string GetProposalDetailIdHelp ()
 get the help text for the field in the database for this column More...
 
static string GetKeyMinistryKeyDBName ()
 get the name of the field in the database for this column More...
 
static short GetKeyMinistryKeyLength ()
 get character length for column More...
 
static string GetKeyMinistryKeyHelp ()
 get the help text for the field in the database for this column More...
 
static string GetProjectLedgerNumberDBName ()
 get the name of the field in the database for this column More...
 
static short GetProjectLedgerNumberLength ()
 get character length for column More...
 
static string GetProjectLedgerNumberHelp ()
 get the help text for the field in the database for this column More...
 
static string GetProjectMotivationGroupDBName ()
 get the name of the field in the database for this column More...
 
static short GetProjectMotivationGroupLength ()
 get character length for column More...
 
static string GetProjectMotivationGroupHelp ()
 get the help text for the field in the database for this column More...
 
static string GetProjectMotivationDetailDBName ()
 get the name of the field in the database for this column More...
 
static short GetProjectMotivationDetailLength ()
 get character length for column More...
 
static string GetProjectMotivationDetailHelp ()
 get the help text for the field in the database for this column More...
 
static string GetAreaPartnerKeyDBName ()
 get the name of the field in the database for this column More...
 
static short GetAreaPartnerKeyLength ()
 get character length for column More...
 
static string GetAreaPartnerKeyHelp ()
 get the help text for the field in the database for this column More...
 
static string GetFieldPartnerKeyDBName ()
 get the name of the field in the database for this column More...
 
static short GetFieldPartnerKeyLength ()
 get character length for column More...
 
static string GetFieldPartnerKeyHelp ()
 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 ColumnFoundationPartnerKey
 
DataColumn ColumnFoundationProposalKey
 
DataColumn ColumnProposalDetailId
 
DataColumn ColumnKeyMinistryKey
 Used when the proposal is for a key ministry. More...
 
DataColumn ColumnProjectLedgerNumber
 Ledger is part of the primary key for motivations. More...
 
DataColumn ColumnProjectMotivationGroup
 Used when the proposal is for a project. More...
 
DataColumn ColumnProjectMotivationDetail
 Used when the proposal is for a project. More...
 
DataColumn ColumnAreaPartnerKey
 The area that the project or key ministry is for. More...
 
DataColumn ColumnFieldPartnerKey
 The field that the project or key ministry is for if it applies. 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 = 302
 TableId for Ict.Common.Data generic functions. More...
 
static readonly short ColumnFoundationPartnerKeyId = 0
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnFoundationProposalKeyId = 1
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnProposalDetailIdId = 2
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnKeyMinistryKeyId = 3
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnProjectLedgerNumberId = 4
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnProjectMotivationGroupId = 5
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnProjectMotivationDetailId = 6
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnAreaPartnerKeyId = 7
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnFieldPartnerKeyId = 8
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnDateCreatedId = 9
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnCreatedById = 10
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnDateModifiedId = 11
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnModifiedById = 12
 used for generic TTypedDataTable functions More...
 
static readonly short ColumnModificationIdId = 13
 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

PFoundationProposalDetailRow 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

A proposal may be for more than one project or key ministry.

Constructor & Destructor Documentation

◆ PFoundationProposalDetailTable() [1/3]

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

constructor

◆ PFoundationProposalDetailTable() [2/3]

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

constructor

◆ PFoundationProposalDetailTable() [3/3]

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

◆ GetAreaPartnerKeyDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.GetAreaPartnerKeyDBName ( )
inlinestatic

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

◆ GetAreaPartnerKeyHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.GetAreaPartnerKeyHelp ( )
inlinestatic

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

◆ GetAreaPartnerKeyLength()

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

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

◆ GetCreatedByDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.GetCreatedByDBName ( )
inlinestatic

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

◆ GetCreatedByHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.GetCreatedByHelp ( )
inlinestatic

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

◆ GetCreatedByLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.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.MPartner.Partner.Data.PFoundationProposalDetailTable.GetDateCreatedDBName ( )
inlinestatic

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

◆ GetDateCreatedHelp()

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

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

◆ GetDateCreatedLength()

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

get character length for column

◆ GetDateModifiedDBName()

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

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

◆ GetDateModifiedHelp()

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

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

◆ GetDateModifiedLength()

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

get character length for column

◆ GetFieldPartnerKeyDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.GetFieldPartnerKeyDBName ( )
inlinestatic

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

◆ GetFieldPartnerKeyHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.GetFieldPartnerKeyHelp ( )
inlinestatic

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

◆ GetFieldPartnerKeyLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.GetFieldPartnerKeyLength ( )
inlinestatic

get character length for column

◆ GetFoundationPartnerKeyDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.GetFoundationPartnerKeyDBName ( )
inlinestatic

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

◆ GetFoundationPartnerKeyHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.GetFoundationPartnerKeyHelp ( )
inlinestatic

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

◆ GetFoundationPartnerKeyLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.GetFoundationPartnerKeyLength ( )
inlinestatic

get character length for column

◆ GetFoundationProposalKeyDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.GetFoundationProposalKeyDBName ( )
inlinestatic

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

◆ GetFoundationProposalKeyHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.GetFoundationProposalKeyHelp ( )
inlinestatic

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

◆ GetFoundationProposalKeyLength()

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

◆ GetKeyMinistryKeyDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.GetKeyMinistryKeyDBName ( )
inlinestatic

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

◆ GetKeyMinistryKeyHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.GetKeyMinistryKeyHelp ( )
inlinestatic

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

◆ GetKeyMinistryKeyLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.GetKeyMinistryKeyLength ( )
inlinestatic

get character length for column

◆ 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.PFoundationProposalDetailTable.GetModificationIdDBName ( )
inlinestatic

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

◆ GetModificationIdHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.GetModificationIdHelp ( )
inlinestatic

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

◆ GetModificationIdLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.GetModificationIdLength ( )
inlinestatic

get character length for column

◆ GetModifiedByDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.GetModifiedByDBName ( )
inlinestatic

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

◆ GetModifiedByHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.GetModifiedByHelp ( )
inlinestatic

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

◆ GetModifiedByLength()

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

◆ GetProjectLedgerNumberDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.GetProjectLedgerNumberDBName ( )
inlinestatic

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

◆ GetProjectLedgerNumberHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.GetProjectLedgerNumberHelp ( )
inlinestatic

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

◆ GetProjectLedgerNumberLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.GetProjectLedgerNumberLength ( )
inlinestatic

get character length for column

◆ GetProjectMotivationDetailDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.GetProjectMotivationDetailDBName ( )
inlinestatic

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

◆ GetProjectMotivationDetailHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.GetProjectMotivationDetailHelp ( )
inlinestatic

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

◆ GetProjectMotivationDetailLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.GetProjectMotivationDetailLength ( )
inlinestatic

get character length for column

◆ GetProjectMotivationGroupDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.GetProjectMotivationGroupDBName ( )
inlinestatic

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

◆ GetProjectMotivationGroupHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.GetProjectMotivationGroupHelp ( )
inlinestatic

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

◆ GetProjectMotivationGroupLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.GetProjectMotivationGroupLength ( )
inlinestatic

get character length for column

◆ GetProposalDetailIdDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.GetProposalDetailIdDBName ( )
inlinestatic

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

◆ GetProposalDetailIdHelp()

static string Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.GetProposalDetailIdHelp ( )
inlinestatic

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

◆ GetProposalDetailIdLength()

static short Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.GetProposalDetailIdLength ( )
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.MPartner.Partner.Data.PFoundationProposalDetailTable.GetTableDBLabel ( )
inlinestatic

static method to return the 'Label' of the table as it is used in the database (the 'Label' is usually a short description of what the db table is about)

◆ GetTableDBName()

static string Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.GetTableDBName ( )
inlinestatic

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

◆ GetTableName() [1/2]

static string Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.GetTableName ( )
inlinestatic

return the CamelCase name of the table

◆ GetTableName() [2/2]

static string Ict.Common.Data.TTypedDataTable.GetTableName ( short  ATableNumber)
inlinestaticinherited

the table name in CamelCase

◆ GetTableNameSQL()

static string Ict.Common.Data.TTypedDataTable.GetTableNameSQL ( short  ATableNumber)
inlinestaticinherited

the table name as it is in the SQL database

◆ GetUniqueKeyColumnOrdList()

static int[] Ict.Common.Data.TTypedDataTable.GetUniqueKeyColumnOrdList ( short  ATableNumber)
inlinestaticinherited

get the order number of the columns that are part of a unique key

◆ GetUniqueKeyColumnStringList()

static string[] Ict.Common.Data.TTypedDataTable.GetUniqueKeyColumnStringList ( short  ATableNumber)
inlinestaticinherited

get the names of the columns that are part of the unique key

◆ InitClass()

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

create the columns

Implements Ict.Common.Data.TTypedDataTable.

◆ InitVars()

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

new typed row using DataRowBuilder

◆ NewRowTyped() [1/2]

PFoundationProposalDetailRow Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.NewRowTyped ( )
inline

create a new typed row, always with default values

◆ NewRowTyped() [2/2]

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

◆ ColumnAreaPartnerKey

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.ColumnAreaPartnerKey

The area that the project or key ministry is for.

◆ ColumnAreaPartnerKeyId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.ColumnAreaPartnerKeyId = 7
static

used for generic TTypedDataTable functions

◆ ColumnCreatedBy

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.ColumnCreatedBy

User ID of who created this record.

◆ ColumnCreatedById

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.ColumnCreatedById = 10
static

used for generic TTypedDataTable functions

◆ ColumnDateCreated

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

The date the record was created.

◆ ColumnDateCreatedId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.ColumnDateCreatedId = 9
static

used for generic TTypedDataTable functions

◆ ColumnDateModified

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

The date the record was modified.

◆ ColumnDateModifiedId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.ColumnDateModifiedId = 11
static

used for generic TTypedDataTable functions

◆ ColumnFieldPartnerKey

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.ColumnFieldPartnerKey

The field that the project or key ministry is for if it applies.

◆ ColumnFieldPartnerKeyId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.ColumnFieldPartnerKeyId = 8
static

used for generic TTypedDataTable functions

◆ ColumnFoundationPartnerKey

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.ColumnFoundationPartnerKey

◆ ColumnFoundationPartnerKeyId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.ColumnFoundationPartnerKeyId = 0
static

used for generic TTypedDataTable functions

◆ ColumnFoundationProposalKey

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.ColumnFoundationProposalKey

◆ ColumnFoundationProposalKeyId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.ColumnFoundationProposalKeyId = 1
static

used for generic TTypedDataTable functions

◆ ColumnKeyMinistryKey

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.ColumnKeyMinistryKey

Used when the proposal is for a key ministry.

◆ ColumnKeyMinistryKeyId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.ColumnKeyMinistryKeyId = 3
static

used for generic TTypedDataTable functions

◆ ColumnModificationId

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.ColumnModificationId

This identifies the current version of the record.

◆ ColumnModificationIdId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.ColumnModificationIdId = 13
static

used for generic TTypedDataTable functions

◆ ColumnModifiedBy

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.ColumnModifiedBy

User ID of who last modified this record.

◆ ColumnModifiedById

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.ColumnModifiedById = 12
static

used for generic TTypedDataTable functions

◆ ColumnProjectLedgerNumber

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.ColumnProjectLedgerNumber

Ledger is part of the primary key for motivations.

◆ ColumnProjectLedgerNumberId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.ColumnProjectLedgerNumberId = 4
static

used for generic TTypedDataTable functions

◆ ColumnProjectMotivationDetail

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.ColumnProjectMotivationDetail

Used when the proposal is for a project.

◆ ColumnProjectMotivationDetailId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.ColumnProjectMotivationDetailId = 6
static

used for generic TTypedDataTable functions

◆ ColumnProjectMotivationGroup

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.ColumnProjectMotivationGroup

Used when the proposal is for a project.

◆ ColumnProjectMotivationGroupId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.ColumnProjectMotivationGroupId = 5
static

used for generic TTypedDataTable functions

◆ ColumnProposalDetailId

DataColumn Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.ColumnProposalDetailId

◆ ColumnProposalDetailIdId

readonly short Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.ColumnProposalDetailIdId = 2
static

used for generic TTypedDataTable functions

◆ DontThrowAwayAfterSubmitChanges

bool Ict.Common.Data.TTypedDataTable.DontThrowAwayAfterSubmitChanges = false
inherited

if you want no warning about that the datatable should be cleared after submitchanges. in some cases you must keep the data, eg when you need the new keys after INSERT

◆ TableId

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

PFoundationProposalDetailRow Ict.Petra.Shared.MPartner.Partner.Data.PFoundationProposalDetailTable.this[int i]
get

Access a typed row by index.


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