Hello, sasha said the following on 08.01.2007 15:26:
> 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? Use IDataAdapter's RowUpdated event. > 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 would you need this when you could use INSERT ... RETURNING? -- Oleg ------------------------------------------------------------------------- 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