How to get a list of classes with 0 references fro

2019-06-24 02:41发布

I have a very big EF edmx model with over 450 classes/entities. This has grown organically over the last 5 years. With Visual Studio 2013 and the CodeLens feature I have noticed that some classes have 0 references listed. When I do some research I have found that this is true and I can remove that entity from the model.

The problem is that I would have to look at all 450 classes in the edmx to see if CodeLens says there are 0 references. Is there any report, export that I can get with CodeLens? Is there any way to extend it to provide this if there is no report?

1条回答
登录 后发表回答