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 "Generate Model from Database" and get this? i've tried to update model with the option "Include foreign key columns in the Model" unchecked, but the associations and nav props are still being generated.
thanks in advance
SOLUTION FOUND
As i was reading the conceptual model, i was getting innaccurated information about the table structure, because the conceptual model on the edmx, because when we have foreign keys, associations are created and Nav props instead of regular property (on the fields withing the FK).
The solution i Found is use the store model instead of Conceptual model
Getting the Conceptual Model "Wrong way"
Getting the Store Model "GOOD way"