OSB_DB::CountryInfoGw Struct Reference

List of all members.

Detailed Description

It performs the fetch operation for the country info. It will fetch only one country info based on oid or fetch all the country info.

Definition at line 59 of file countryinfo-gw.h.

Public Member Functions


Member Function Documentation

long OSB_DB::CountryInfoGw::fetch ( const Session session,
OSB_LIB::CountryInfos cntryInfos 
)

Read all the country info from the database.

Parameters:
session Database session to use.
cntryInfos Container for the country info.
Exceptions:
Exception on general database error.
Returns:
Number of country info read from the database.

bool OSB_DB::CountryInfoGw::fetch ( const Session session,
OSB_LIB::CountryInfo countryInfo 
)

Read the country info from the database based on the country info object id.

This will read the country info object from the database based on the country info object id. Before calling this function the oid of the country info should be set.

Parameters:
session Database session to use.
countryInfo The country info to be read.
Exceptions:
Exception on general database error.
Returns:
True if country info object read successfully else false.


The documentation for this struct was generated from the following file:
Generated on Sat Sep 2 14:09:02 2006 for OSB Library by  doxygen 1.4.7