A package to display not used columns in your sql server database based on your entity framework DbContext
$ dotnet add package DeadColumnsCheckerCheck sql columns not used in your project
From anywhere where you can access to your DbContext, call the extension method CheckDeadColumns
using (var context = new EntitiesDb())
{
var result = context.CheckDeadColumns();
var csv = result.ToCsv(); // can be exported to a csv
}