views:

38

answers:

1

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

+3  A: 

Read this article. Section Influencing the DDL Generation.

HTH

Yury Tarabanko
I guess that will have to do. Even though I think EF is great, I'm a bit disappointed at another much-needed feature that isn't yet implemented in EF.
Jappie