sasha wrote:
> In past i programmed with Delphi, so i don't understand some conceptions 
> of ADO.NET.
> 
> 1) For example i posted UPDATE command for record. Some fields of record 
> was changed in triggers inside databse, so i need refresh record from 
> database right after update. In delphi i has RefresSQL command for this.
> 
> How does it work in ADO.NET?

You you're using DataSet, just refresh it. Your TableAdapter will do the work.

> 2) For generating IDs i'm using generators. In delphi i used FIBPlus 
> components wich allowed to specify generator name for table. So 
> inserting runned in 3 steps:
> 1. Get generator value using GEN_ID
> 2. Insert record with generated ID
> 3. Refresh data to fill trigger-calculated and computed-by fields
> 
> How does it works in ADO.NET ?

Why don't you just create before insert trigger to generate the ID on server 
side? It's more clear.

-- 
Jiri {x2} Cincura
http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to