on my EF6 app i would like to show all the rows of all the Entities currently on my database. Is there a way to do it without having to know what my entities are and what the properties of those entities are? I think using reflection is the way to solve this but i just can´t get to the solution. Any Ideas?
UPDATE: To reply to what people are asking... The database is a SQLSERVER. I don't see how what i want to specifically achive here is relevant. It could even be for the exercise of writing a routine to see all data. As for security reasons, if i for example want to manage the security through the application or give a person admin rights to admin the database around as she pleases, i don't see why it's a design problem. Seen all links posted but all of them so far, solutions include building sql statements which is what i want to get away from.
So as a simple example and to sumarize my pled for help, what i want is through c#, using Entity framework and maybe Linq, be able to write a method that does the "show me everything" command Jasmine talks about. It can be because i decided i dont like the letter "a" and want to purge it from a db. It can be because i want to find all records that contain the word "fido" some where. It can be becouse i want to find how many words/numbers my database has. And like this there is plenty more reasons to what i would want to do this even though like i said i find it irrelevant.