Meaningful Names for Navigation Properties using Entity Framework

前端 未结 3 1209
臣服心动
臣服心动 2020-12-10 13:39

I am using the ADO .NET Entity Framework to import my model from a database. A table in my db has a bunch of foreign keys, all with abstract names e.g. FKDevice132610

3条回答
  •  甜味超标
    2020-12-10 13:55

    As I know there is currently no way to do that. This is how current designer works. What is even worse when you rename these properties to correct names updating model from database will sometimes overwrite your changes.

    Improvement of navigation property naming is tracked by this work item - http://entityframework.codeplex.com/workitem/125

提交回复
热议问题