I have tables named "table1", "table2", "table3", and so on...
To get the column names, I'll use this in my controller
var columnNames = typeof(table).GetProperties().Select(a => a.Name).ToList();
but how do I get the column names in entity framework given I have table names in string?
And is there a better way to get the column names in entity framework given your table name is a string?