Prevent EF6 from generate navigation properties
问题 I've recently started to use EF6 and i'm building a couple of T4 templates to generate some code automatically (on VS2012). I'm generating my model from the database and this process creates all the associations automatically based on the DB ForeignKeys. And generates too a "Navigation Property" for that field in Associations/FK. I want to get a "Flat Version" of my entities without navigation properties. Just a class with properties corresponding to table columns. Is there any way to