All Categories Class Hierarchy This Category Previous Next Indexes
Miscellaneous Class CATDMUSRUpdate
CATDMUSRUpdate
public class CATDMUSRUpdate
Basic service to update attributes into the database
Constructor and Destructor Index
- o
CATDMUSRUpdate(CATUnicodeString&,CATUnicodeString&,CATUnicodeString&,double,double,int,int)
-
- o
~CATDMUSRUpdate()
-
Method Index
- o
SetSetClause(CATListOfCATUnicodeString&,CATListOfCATUnicodeString&)
- Defines the "SET CLAUSE".
- o
Update()
- Performs update
PART_PTR table cannot be update with CATDMUSRUpdate.
Constructor and Destructor
o CATDMUSRUpdate
| public CATDMUSRUpdate( | const CATUnicodeString& | i_dbname, |
| const CATUnicodeString& | catenv, |
| const CATUnicodeString& | catab, |
| const double | coid, |
| const double | compid, |
| const int | iUseSecurityView | =1, |
| const int | iUseTriggers | =1) |
-
- Parameters:
-
- i_dbname
- Database name
- catenv
- Environment
- catab
- Table
- coid
- $COID
- compid
- $COMPID
- iUseSecurityView
- 0 : security view is not used
1 : security view is used
- iUseTriggers
- 0 : no trigger fired
1 : trigger are fired
o ~CATDMUSRUpdate
| public virtual ~CATDMUSRUpdate( | ) |
-
Methods
o SetSetClause
| public virtual void SetSetClause( | const CATListOfCATUnicodeString& | i_att, |
| const CATListOfCATUnicodeString& | i_val) |
-
Defines the "SET CLAUSE".
- Parameters:
-
- i_att
- Contains all the attributes name which are going to be updated.
- i_val
- Contains all the values (in string format).
Single quotes are added automatically (when necessary).
o Update
| public virtual int Update( | ) |
-
Performs update
PART_PTR table cannot be update with CATDMUSRUpdate.
Please use CATPSNInstanceManagement class to perform any update
on this class.
This object is included in the file: CATDMUSRUpdate.h
If needed, your Imakefile.mk should include the module: LV003DBA