Hello people, I am working on mvc 5 model first and I have 3 tables. -Roles -Roles Permissions -Permissions when creating the mapping of the database EF does not create the intermediate table (RolesPermisos) as it could make a selection of the table "RolesPermisos" where the role = X in linq. I've tried this but it does not work for me
var consulta = db.Roles.Include("Permisos").Where(x => x.IdRol == 24).Single();//me esta trayendo todos los rolesPermisos