I have an EF6, MVC4 database first web application. The database model has some many to many relationships defined, and the .edmx model is showing them the right way. The trouble is when I try to make an insert to my database, I have no option to add the related entity object to the one that's being created. I can make individual inserts on each related table, but the one that's storing the many to many relationship does isn't written.
These are the conflicting models:
This is the script of the table that should store the many to many relation:
CREATE TABLE [dbo].[funcionalidad_perfil] (
[funcionalidad_id] bigint NOT NULL,
[perfil_id] bigint NOT NULL)
How should I do to save data to the "funcionalidad_perfil" table, if it wasn't created automagically?