What is the right way to map a table with no primary keys in such way that i can insert new records into it?
There isn't one. A relational entity
must have a primary key, otherwise it can't participate in relationships, and ORMs can't map it. Could you not just add a surrogate key?