Add index in EF Model First design

你离开我真会死。 提交于 2019-12-29 05:27:45

问题


I like the option of doing model first design with the Entity Framework (4). However, I haven't been able to find out how to add an additional index to a table besides the primary key.

Is this possible in the visual designer? Or do you need to add an index manually after creating the database (which would be a shortcoming of the designer)?


回答1:


Read this article. Section Influencing the DDL Generation.

HTH



来源:https://stackoverflow.com/questions/3333674/add-index-in-ef-model-first-design

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!