unused generated clases
We are using the T4 template in VS2013 to generate clases for the Controlles and Sql files.
A generated Sql class looks like this:
[GeneratedCode("T4Sql", "1.0")] public static class Sql { public static readonly Gnosis.View.T4Sql.T4SqlAccount Account = new Gnosis.View.T4Sql.T4SqlAccount();}
[GeneratedCode("T4Sql", "1.0")] public class T4SqlAccount { public string AccountIsOpen_sql = "Sql.Account.AccountIsOpen.sql";}
We are using these clasees for sql commands, like this Sql.Account.AccountIsOpen_slq instead of the string that points to the embeded sql file. I was wondering is there a way to see, using resharper, which of these are not used?
Please sign in to leave a comment.