| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions
TeSqlServerPortal Class Reference

A portal to access a ADO database. More...

`#include <TeAdoSqlServer.h>`

Inheritance diagram for TeSqlServerPortal:

List of all members.

## Public Member Functions

| TeSqlServerPortal ()
| TeSqlServerPortal (TeDatabase *pDatabase)
| ~TeSqlServerPortal ()
TeTime | getDate (int i)
| Gets the value of the i-th attribute as a date.
TeTime | getDate (const string &s)
| Gets the value of a named attribute as a date.
string | getDateAsString (int i)
| Returns.
string | getDateAsString (const string &s)
| Gets the of a date/time attribute as a string formatted as accepted in further SQL statements.

## Detailed Description

A portal to access a ADO database.

## Constructor & Destructor Documentation

TeSqlServerPortal::TeSqlServerPortal | ( |  | ) |

TeSqlServerPortal::TeSqlServerPortal | ( | TeDatabase * | pDatabase | ) |

TeSqlServerPortal::~TeSqlServerPortal | ( |  | ) |

## Member Function Documentation

TeTime TeSqlServerPortal::getDate | ( | int | i | ) | `[virtual]`

Gets the value of the i-th attribute as a date.

Reimplemented from TeAdoPortal.

TeTime TeSqlServerPortal::getDate | ( | const string & | s | ) | `[virtual]`

Gets the value of a named attribute as a date.

Reimplemented from TeAdoPortal.

string TeSqlServerPortal::getDateAsString | ( | int | i | ) | `[virtual]`

Returns.

Reimplemented from TeAdoPortal.

string TeSqlServerPortal::getDateAsString | ( | const string & | s | ) | `[virtual]`

Gets the of a date/time attribute as a string formatted as accepted in further SQL statements.

Reimplemented from TeAdoPortal.

The documentation for this class was generated from the following files:

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/ado/TeAdoSqlServer.h
- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/ado/TeAdoSqlServer.cpp

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines