Delphi to VS2008 PostgreSQLDirect .NET

Delphi to VS2008 PostgreSQLDirect .NET

Postby rakgol_a » Fri 20 Jun 2008 16:34

Hi,
I'm new to Visual Studio 2008 C# coming from Delphi.
How does data components wire together similar to Delphi?

TOraSession=?
TOraTable/TDataset=?
TSmartQuery/TQuery=?
TOraStoredProc=?
TOraDataSource/TDatasource=?

Also how to thing like iterations.
Table1.Open, Table1.Next, Table1.Refresh, while(not(table1.Eof)) do table1.next...etc.

How do parametized tables like Table1.Params...etc.

Thanks
Alfred
rakgol_a
 
Posts: 13
Joined: Wed 17 Oct 2007 13:10

Postby anton.connect » Mon 23 Jun 2008 07:31

Hello, Alfred

TOraSession= PgSqlConnection
TOraTable/TDataset=? PgSqlDataTable, PgSqlDataSet
TSmartQuery/TQuery= PgSqlDataSet
TOraStoredProc= PgSqlCommand
TOraDataSource/TDatasource= PgSqlDataSource
Also how to thing like iterations.
Table1.Open, Table1.Next, Table1.Refresh, while(not(table1.Eof)) do table1.next...etc.

-> See PgSqlDataReader help reference

Also you can get all this information from PostgreSQLDirect .NET documentation that has been installed together whith PostgreSQLDirect .NET.
anton.connect
 
Posts: 43
Joined: Thu 19 Jun 2008 14:30


Return to dotConnect for PostgreSQL