I have a database where many tables created By / modifiedBy columns, which are foreign keys in the User table. When I update my model from the database, it generates navigation properties for all of these relationships. A custom object ends with dozens of collections to navigate these relationships.
When I update the model from the database, I have the option "Include foreign key columns in the model." If I remove it, I will get navigation properties, but not foreign key fields. Is there a way to create the opposite, save foreign key fields, but not add navigation properties?
I am new to Entity Framework, so I apologize if my question emphasizes my ignorance.
source
share