0

I know this question might have been asked before but I have not found a single answer yet.

Basically I am using entity framework and I am in need of selecting data from a database without knowing the name of the table, as this will be generic.

Now if I do not know the table name, I do not know the type too as I have tried using context.Database.SQLQuery or context.Database.ExecuteSQLStatement but these all require the type of the object it should be expecting.

All I am receiving as parameters are the name of the table and the row ID.

Could anybody give me further advice?

Thanks.

#

Edit:

I have just been notified that the only property I would need from this table is the Name field...

0 Answers0