加入指数EF模型第一次设计模型、指数、EF

2023-09-04 00:08:27 作者:白丑

我喜欢做模型,第一个设计实体框架(4)的选项。不过,我一直无法找出如何添加一个额外的索引表中除了主键。

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)?

推荐答案

阅读这篇文章 。第影响的DDL生成

心连心

 
精彩推荐
图片推荐