Is there a way to dynmaically define the table name so I do not have to do multiple calls if the table I'm accessing is different for different conditions? I don't want to have an if/else for every table I am accessing if I can use a variable name instead.
using (Entity ctx = new Entity())
{
dbTableVal = "EntityTables";
var query = from d in dbTableVal
where d == "Yes"
select d;
}