Is there any way to change the Navigation Property name convention when an edmx is generated in Visual Studio 2010 to use the foreign key column name?

后端 未结 2 653
梦毁少年i
梦毁少年i 2021-01-22 16:15

I am currently generating some code from an edmx file with a t4 template by going through all of the properties. By default the edmx file has navigation properties that are nam

2条回答
  •  萌比男神i
    2021-01-22 16:45

    No it is not possible to change convention for naming navigation properties.

    Thanks @Arkiliknam for comment. Someone else found a way to do that: Improve navigation property names when reverse engineering a database

提交回复
热议问题