I think you best use a stored proedure like:
create proc p_Insert
(
@dna <type>,
@ddef <type>,
@dsymp <type>,
@dcompl <type>,
@synam <type>
)
as
declare @did int
declare @syid int
insert into t1 (dna,ddef,dsymp,dc) values(@dna,@ddef,@dsymp,@dc)
set @did = scope_identity()
insert into t2 (did, synam) values(@did @synam)
set @syid = scope_identity()
select did = @did, syid= @syid
The last select query will return the new id's to your program.