public List
{
using (var Context = new MCPEntities())
{
PropertyInfo info = Context.GetType().GetProperty(tableName);
IQueryable table = info.GetValue(Context, null) as IQueryable;
return table;
}
}
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Vivek KumarPosted Jun 5, 2017, 4:26 PM
Rajeesh MenothPosted Jun 5, 2017, 3:20 AM