EntityFramework-Reverse-POCO-Code-First-Generator icon indicating copy to clipboard operation
EntityFramework-Reverse-POCO-Code-First-Generator copied to clipboard

Feature request: index filtering

Open leonardguy-dynes opened this issue 7 months ago • 2 comments

First of all, thanks heaps for such a useful tool. We've bought a license.

We have a collection of ephemeral indexes on our DB that are created and destroyed as required to tune query performance, based on an approach described at http://www.sqlnuggets.com/blog/sql-scripts-how-to-find-missing-indexes/

We'd like to exclude them from the generated IEntityTypeConfiguration files in the same way that we can exclude sprocs or tables, i.e. via something like:

FilterSettings.IndexFilters.Add(new RegexExcludeFilter("^IX_.+_[0-9A-F]{5}$"));

This would result in e.g. 30 fewer indexes appearing in the Configure() method for one of our main tables.

Thanks again for a great product.

leonardguy-dynes avatar Apr 29 '25 23:04 leonardguy-dynes