Hello,
I Have two tables as Listed below :
1) EmployeeMaster
CREATE TABLE [dbo].[EmployeeMaster](
[EmpId] [int] NOT NULL Primary Key,
[EmpName] [nvarchar](50) NULL
)
2) EmployeeRole
CREATE TABLE [dbo].[EmployeeRole](
[RoleId] [int] NOT NULL,
[RoleName] [varchar](50) NULL,
[EmpId] [int] NULL
)
Also I am Having MasterData.xml also
So Now i want to insert this xml file data into EmployeeMaster and EmployeeRole table in MVC. So please give me the solution.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Rupesh KahaneRank #136 · 16.4K reputationPosted Oct 3, 2018, 4:18 AM EDT
https://www.c-sharpcorner.com/article/bulk-insert-update-xml-data-into-sql-table/
Adhikar PatilRank #2,765 · 508 reputationPosted Oct 4, 2018, 3:50 AM EDT