I have a sql server database and C# kendo grids. The tables are Users,Roles,User_Roles. user table has userid as a primary key and Roles table has RoleId as a primary key. User_Roles have both roleid and user id as primary key. When i am trying to add the tables to the entity framework by using the option update from the database i can see both the user and roles table but not the User_Roles table because of the many to many relationship.
The issue is i want to access this table(User_roles) in the linq query to update the user when the roles are updated. But i am unable to access this table. Is there any way i can access this table or add to the entity framework.
The data are displaying on the kendo grids
Thanks