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

auto generated More...

Inheritance diagram for Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDS:
Ict.Common.Data.TTypedDataSet

Public Member Functions

 PartnerInfoTDS ()
 auto generated More...
 
 PartnerInfoTDS (string ADatasetName)
 auto generated More...
 
virtual new PartnerInfoTDS GetChangesTyped (bool removeEmptyTables)
 auto generated More...
 
override void InitVars ()
 auto generated More...
 
override DataSet Clone ()
 also copy the constraints and relations arrays More...
 
void InitClass ()
 Initialise the class, calling abstract routines in the right order More...
 
new void Merge (DataTable ATable)
 overload that makes sure that the typed tables are mapped again More...
 
new void Merge (DataSet ADataSet)
 overload that makes sure that the typed tables are mapped again More...
 
new void Merge (DataSet ADataSet, bool APreserveChanges)
 overload that makes sure that the typed tables are mapped again More...
 
DataColumn[] GetDataColumnArrayFromString (DataTable ATable, string[] AKeys)
 This returns an array of DataColumns, based on a Array of strings of column names of a given table More...
 
void EnableConstraint (TTypedConstraint AConstraint)
 enable a specific constraint More...
 
void EnableConstraint (String AName)
 Enable a specific constraint More...
 
void EnableConstraints ()
 Will add the constraints to the tables. The constraints should have been before added to FConstraints. Constraints will only be added if they don't exist already More...
 
void DisableConstraints ()
 disable all the constraints More...
 
void DisableConstraint (String AName)
 Disable a specific constraint More...
 
void DisableRelationConstraints ()
 Disable all constraints created because of a relation More...
 
void EnableRelation (String AName)
 Enable a specific relation More...
 
void EnableRelations ()
 Will add the relations to the tables. The relations should have been before added to FRelations. Relations will only be added if they don't exist already More...
 
void DisableRelation (String AName)
 Disable a specific relation More...
 
virtual TTypedDataSet GetChangesTyped (Boolean removeEmptyTables)
 returns a dataset with only necessary data depending on the parameter removeEmptyTables, the empty tables are not returned all rows that are not changed are not returned More...
 
void RemoveTable (String ATableName)
 Remove a table fromt the dataset, and all constraints and references refering to it More...
 
void RemoveTables (StringCollection ATableNames)
 remove a list of tables from the dataset (StringCollection) More...
 
void RemoveTables (string[] ATableNames)
 remove a list of tables from the dataset (array of string) More...
 
void RemoveEmptyTables ()
 remove all tables from the dataset that are empty More...
 

Protected Member Functions

override void InitTables ()
 auto generated More...
 
override void InitTables (System.Data.DataSet ds)
 auto generated More...
 
override void MapTables ()
 auto generated More...
 
override void InitConstraints ()
 auto generated More...
 
abstract void InitTables (DataSet ds)
 for initialising the tables, of a specific dataset implemented by generated code More...
 
void EnableRelation (TTypedRelation ARelation)
 enable a specific relation More...
 

Protected Attributes

ArrayList FConstraints
 constraints in this dataset More...
 
ArrayList FRelations
 relations in this dataset More...
 

Properties

PartnerInfoTDSPartnerHeadInfoTable PartnerHeadInfo [get]
 auto generated More...
 
PartnerInfoTDSPartnerAdditionalInfoTable PartnerAdditionalInfo [get]
 auto generated More...
 
PartnerInfoTDSUnitInfoTable UnitInfo [get]
 auto generated More...
 
PLocationTable PLocation [get]
 auto generated More...
 
PPartnerLocationTable PPartnerLocation [get]
 auto generated More...
 
PPartnerTypeTable PPartnerType [get]
 auto generated More...
 
PSubscriptionTable PSubscription [get]
 auto generated More...
 
PPartnerAttributeCategoryTable PPartnerAttributeCategory [get]
 auto generated More...
 
PPartnerAttributeTypeTable PPartnerAttributeType [get]
 auto generated More...
 
PartnerInfoTDSPPartnerAttributeTable PPartnerAttribute [get]
 auto generated More...
 
PartnerInfoTDSFamilyMembersTable FamilyMembers [get]
 auto generated More...
 
bool ThrowAwayAfterSubmitChanges [get, set]
 if you want the dataset to be cleared after submitchanges. This will increase the speed significantly: no updating of modificationID, no slow AcceptChanges. More...
 
bool DontThrowAwayAfterSubmitChanges [get, set]
 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...
 

Detailed Description

auto generated

Constructor & Destructor Documentation

◆ PartnerInfoTDS() [1/2]

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

auto generated

◆ PartnerInfoTDS() [2/2]

Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDS.PartnerInfoTDS ( string  ADatasetName)
inline

auto generated

Member Function Documentation

◆ Clone()

override DataSet Ict.Common.Data.TTypedDataSet.Clone ( )
inlineinherited

also copy the constraints and relations arrays

Returns
cloned Dataset

◆ DisableConstraint()

void Ict.Common.Data.TTypedDataSet.DisableConstraint ( String  AName)
inlineinherited

Disable a specific constraint

Returns
void

◆ DisableConstraints()

void Ict.Common.Data.TTypedDataSet.DisableConstraints ( )
inlineinherited

disable all the constraints

◆ DisableRelation()

void Ict.Common.Data.TTypedDataSet.DisableRelation ( String  AName)
inlineinherited

Disable a specific relation

Returns
void

◆ DisableRelationConstraints()

void Ict.Common.Data.TTypedDataSet.DisableRelationConstraints ( )
inlineinherited

Disable all constraints created because of a relation

Returns
void

◆ EnableConstraint() [1/2]

void Ict.Common.Data.TTypedDataSet.EnableConstraint ( String  AName)
inlineinherited

Enable a specific constraint

Returns
void

◆ EnableConstraint() [2/2]

void Ict.Common.Data.TTypedDataSet.EnableConstraint ( TTypedConstraint  AConstraint)
inlineinherited

enable a specific constraint

Returns
void

◆ EnableConstraints()

void Ict.Common.Data.TTypedDataSet.EnableConstraints ( )
inlineinherited

Will add the constraints to the tables. The constraints should have been before added to FConstraints. Constraints will only be added if they don't exist already

Returns
void

◆ EnableRelation() [1/2]

void Ict.Common.Data.TTypedDataSet.EnableRelation ( String  AName)
inlineinherited

Enable a specific relation

Returns
void

◆ EnableRelation() [2/2]

void Ict.Common.Data.TTypedDataSet.EnableRelation ( TTypedRelation  ARelation)
inlineprotectedinherited

enable a specific relation

Returns
void

◆ EnableRelations()

void Ict.Common.Data.TTypedDataSet.EnableRelations ( )
inlineinherited

Will add the relations to the tables. The relations should have been before added to FRelations. Relations will only be added if they don't exist already

Returns
void

◆ GetChangesTyped() [1/2]

virtual new PartnerInfoTDS Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDS.GetChangesTyped ( bool  removeEmptyTables)
inlinevirtual

auto generated

◆ GetChangesTyped() [2/2]

virtual TTypedDataSet Ict.Common.Data.TTypedDataSet.GetChangesTyped ( Boolean  removeEmptyTables)
inlinevirtualinherited

returns a dataset with only necessary data depending on the parameter removeEmptyTables, the empty tables are not returned all rows that are not changed are not returned

Returns
a new dataset with only modified data

◆ GetDataColumnArrayFromString()

DataColumn[] Ict.Common.Data.TTypedDataSet.GetDataColumnArrayFromString ( DataTable  ATable,
string[]  AKeys 
)
inlineinherited

This returns an array of DataColumns, based on a Array of strings of column names of a given table

Returns
void

◆ InitClass()

void Ict.Common.Data.TTypedDataSet.InitClass ( )
inlineinherited

Initialise the class, calling abstract routines in the right order

◆ InitConstraints()

override void Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDS.InitConstraints ( )
inlineprotectedvirtual

auto generated

Implements Ict.Common.Data.TTypedDataSet.

◆ InitTables() [1/3]

override void Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDS.InitTables ( )
inlineprotectedvirtual

auto generated

Implements Ict.Common.Data.TTypedDataSet.

◆ InitTables() [2/3]

abstract void Ict.Common.Data.TTypedDataSet.InitTables ( DataSet  ds)
protectedpure virtualinherited

for initialising the tables, of a specific dataset implemented by generated code

Parameters
dsthe dataset

◆ InitTables() [3/3]

override void Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDS.InitTables ( System.Data.DataSet  ds)
inlineprotected

auto generated

◆ InitVars()

override void Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDS.InitVars ( )
inlinevirtual

auto generated

Implements Ict.Common.Data.TTypedDataSet.

◆ MapTables()

override void Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDS.MapTables ( )
inlineprotectedvirtual

auto generated

Reimplemented from Ict.Common.Data.TTypedDataSet.

◆ Merge() [1/3]

new void Ict.Common.Data.TTypedDataSet.Merge ( DataSet  ADataSet)
inlineinherited

overload that makes sure that the typed tables are mapped again

Parameters
ADataSet

◆ Merge() [2/3]

new void Ict.Common.Data.TTypedDataSet.Merge ( DataSet  ADataSet,
bool  APreserveChanges 
)
inlineinherited

overload that makes sure that the typed tables are mapped again

◆ Merge() [3/3]

new void Ict.Common.Data.TTypedDataSet.Merge ( DataTable  ATable)
inlineinherited

overload that makes sure that the typed tables are mapped again

Parameters
ATable

◆ RemoveEmptyTables()

void Ict.Common.Data.TTypedDataSet.RemoveEmptyTables ( )
inlineinherited

remove all tables from the dataset that are empty

◆ RemoveTable()

void Ict.Common.Data.TTypedDataSet.RemoveTable ( String  ATableName)
inlineinherited

Remove a table fromt the dataset, and all constraints and references refering to it

Parameters
ATableNametable to remove

◆ RemoveTables() [1/2]

void Ict.Common.Data.TTypedDataSet.RemoveTables ( string[]  ATableNames)
inlineinherited

remove a list of tables from the dataset (array of string)

Parameters
ATableNamesnames of tables to be removed

◆ RemoveTables() [2/2]

void Ict.Common.Data.TTypedDataSet.RemoveTables ( StringCollection  ATableNames)
inlineinherited

remove a list of tables from the dataset (StringCollection)

Parameters
ATableNamesnames of tables to be removed

Member Data Documentation

◆ FConstraints

ArrayList Ict.Common.Data.TTypedDataSet.FConstraints
protectedinherited

constraints in this dataset

◆ FRelations

ArrayList Ict.Common.Data.TTypedDataSet.FRelations
protectedinherited

relations in this dataset

Property Documentation

◆ DontThrowAwayAfterSubmitChanges

bool Ict.Common.Data.TTypedDataSet.DontThrowAwayAfterSubmitChanges
getsetinherited

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

◆ FamilyMembers

PartnerInfoTDSFamilyMembersTable Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDS.FamilyMembers
get

auto generated

◆ PartnerAdditionalInfo

PartnerInfoTDSPartnerAdditionalInfoTable Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDS.PartnerAdditionalInfo
get

auto generated

◆ PartnerHeadInfo

PartnerInfoTDSPartnerHeadInfoTable Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDS.PartnerHeadInfo
get

auto generated

◆ PLocation

PLocationTable Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDS.PLocation
get

auto generated

◆ PPartnerAttribute

PartnerInfoTDSPPartnerAttributeTable Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDS.PPartnerAttribute
get

auto generated

◆ PPartnerAttributeCategory

PPartnerAttributeCategoryTable Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDS.PPartnerAttributeCategory
get

auto generated

◆ PPartnerAttributeType

PPartnerAttributeTypeTable Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDS.PPartnerAttributeType
get

auto generated

◆ PPartnerLocation

PPartnerLocationTable Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDS.PPartnerLocation
get

auto generated

◆ PPartnerType

PPartnerTypeTable Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDS.PPartnerType
get

auto generated

◆ PSubscription

PSubscriptionTable Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDS.PSubscription
get

auto generated

◆ ThrowAwayAfterSubmitChanges

bool Ict.Common.Data.TTypedDataSet.ThrowAwayAfterSubmitChanges
getsetinherited

if you want the dataset to be cleared after submitchanges. This will increase the speed significantly: no updating of modificationID, no slow AcceptChanges.

◆ UnitInfo

PartnerInfoTDSUnitInfoTable Ict.Petra.Shared.MPartner.Partner.Data.PartnerInfoTDS.UnitInfo
get

auto generated


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