How to create spatial index using EF 6.1 fluent API
问题 Well, the question is clear enough. Is it possible to create spatial indexes using Entity Framework 6.1 fluent API? 回答1: Short answer- No, it is not. I have seen this tangentially referenced throughout blogs and have found no concrete examples of implementation. It seems to be related to the fact that spatial indexes are filtered indexes, which are not supported in Entity Framework. As support for my answer I constructed a POC console app with the most recent version of Entity Framework (6.1)