Reputation: 969
I have to start an application within no time before learning EF in detail. I need a help in insertion to a relational table. Suppose in my application I have two tables Staff and Departments and I have relation table 'StaffDepartment' which has FK constraints StaffID and DeptID. When I generate Models from database, StaffDepartment entity hasn't appeared in the EF. So how can I insert values to StaffDeparment table in EF as I have no didn't get any object named 'StaffDepartment'.
Upvotes: 0
Views: 2083