ADO.NET user trying EF for the first time. I\'m trying to get a table from a string of the table name.. Harder than I presumed. Basiclly I\'m here:
var tabl
I was looking for the same thing. Try the non-generic version of Set():
var tableName = "Name.Entities.Measure" + measureType; var type = Type.GetType(tableName); var dbset = Context.Set(type);