Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <DAMMERGE.H>
Link against: damodl.lib
This item is not part of the S60 5th Edition SDK

Class TDaColMapFactory

Interface status: deprecated

class TDaColMapFactory;

Description

Constructs maps of columns from one database model to another.

Members

Defined in TDaColMapFactory:


Member functions


MakeColMapL(const CDaUserDbDesc &,const CDaUserDbDesc &)

Interface status: deprecated Inherited from: TDaColMapFactory

IMPORT_C static 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

CArrayFixFlat *

New column mapping.


MakeUserColMapL(const CDaUserDbDesc &,const CDaUserDbDesc &)

Interface status: deprecated Inherited from: TDaColMapFactory

IMPORT_C static 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

CArrayFixFlat *

New column mapping.