Start by creating a Transaction.
Then insert the primary table row.
Then use
@@IDENTITY[
^] to insert the second table values.
COMMIT the transaction.
The exact procedure for doing this depends on where you are doing it: in your C# code or via an SQL stored procedure (Each method has its adherents).