The following works:
var s = string.Format("drop table {0};", tableName);
context.Database.ExecuteSqlCommand(s);
But to avoid injection I'm trying to use the parameter version
context.Database.ExecuteSqlCommand(@"drop table {0};", tableName);
however this is giving me an error "Incorrect syntax near '@p0'."
I've tried ? as well, but I get similar results.