I have two tables employee_table and salary_table.
employee_table has emp_id (primary key and identity), emp_name and designation columns, while salary_table has emp_id (foreign key) and salary.
In my C# Windows Forms application, I am inserting emp_name, designation and salary.
While inserting these values, emp_id will be auto-generated.
I want to pass the emp_id value to salary table as the foreign key automatically.