Definition at line 59 of file countryinfo-gw.h.
long OSB_DB::CountryInfoGw::fetch | ( | const Session & | session, | |
OSB_LIB::CountryInfos & | cntryInfos | |||
) |
Read all the country info from the database.
session | Database session to use. | |
cntryInfos | Container for the country info. |
Exception | on general database error. |
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.
session | Database session to use. | |
countryInfo | The country info to be read. |
Exception | on general database error. |