many-to-many relation

May 17, 2012 at 8:26 PM

My database have many-to-many relation, and i cannot correctly map it! :(

Two table Employee and Territories have many-to-many relation through EmployeeTerritories table. NMG map EmployeeTerritories as entity, but i supposed to have only Employee and Territories entitys with appropriate fields IList<Territories> and IList<Employee>.

What am I doing wrong? maybe, I wrong understand something in NMG work?