Index

DKColumnDefODBC

Purpose:

This class defines functions to access attribute information as well as to create and delete attributes.

Class summary:

class DKColumnDefODBC : public dkAttrDef
{
public:
   DKColumnDefODBC ();
   DKColumnDefODBC (dkDatastore* ds);
   virtual void add ();
   virtual void del ();
   virtual DKBoolean isPrimaryKey();
   virtual DKBoolean isForeignKey();
};

Members:

Constructors
Construct the attribute def for ODBC.
   DKColumnDefODBC ();
   DKColumnDefODBC (dkDatastore* ds);

Member functions

add
Adds this attribute to become a persistent part of the entity metadata it belongs to.
   virtual void add ();

del
Removes this attribute from the persistent part of the entity metadata it belongs to.
   virtual void del ();

isPrimaryKey
Check to see if this column is a primary key.
   virtual DKBoolean isPrimaryKey();

isForeignKey
Check to see if this column is a foreign key.
   virtual DKBoolean isForeignKey();

(c) Copyright International Business Machines Corporation 1996, 2003. IBM Corp. All rights reserved.