sasha wrote:
>> You you're using DataSet, just refresh it. Your TableAdapter will do the 
>> work.
> 
> Hmm... I dont understand how does it work. Does table adapter 
> automatically generate SELECT command for refreshing of each updated and 
> inserted record?

Why it should generate select? You have DataSet with data, so after posting 
data into DB, you ca refresh it and get fresh data. Same with DataReader, if 
you're using it.

>> Why don't you just create before insert trigger to generate the ID on server 
>> side? It's more clear.
> 
> I have this triggers. I don't undertand how i can get just inserted 
> record with id generated in trigger.

Look at the RETURNING statement.

-- 
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