Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: DAMMERGE.H
Link against: damodl.lib

This item is not part of the S60 3rd Edition SDK for Symbian OS, Feature Pack 2.

Class TDaColMapFactory

class TDaColMapFactory;

Description

Constructs maps of columns from one database model to another.

Members

Defined in TDaColMapFactory:
MakeColMapL(), MakeUserColMapL()


Member functions


MakeColMapL()

static IMPORT_C CDaColMap *MakeColMapL(const CDaUserDbDesc &aTarget, const CDaUserDbDesc &aSource);

Description

Constructs a map of columns from one database model to another.

A mapping between a pair of columns is made if the columns are of the same type, and in the case of text columns, if the target column can fit the size of the source column.

Parameters

const CDaUserDbDesc &aTarget

Target database model.

const CDaUserDbDesc &aSource

Source database model.

Return value

CDaColMap *

New column mapping.


MakeUserColMapL()

static IMPORT_C CDaColMap *MakeUserColMapL(const CDaUserDbDesc &aTargetDbDesc, const CDaUserDbDesc &aSourceDbDesc);

Description

Constructs a map of columns from one database model to another.

A mapping between a pair of columns is made if the columns are of the same type, or if both are a type of text column.

Parameters

const CDaUserDbDesc &aTargetDbDesc

Target database model.

const CDaUserDbDesc &aSourceDbDesc

Source database model.

Return value

CDaColMap *

New column mapping.