Is there a way in entity framework or linq to sql classes to map one class to many different tables with the same schema. For example if I have a database with thousands of tables for different stocks. All of the tables have the same columns. Is there a way I could have a base type class that could be used for mapping the data to an object. I obviously dont want to make thousands of different classes with just the table name being the difference. Also the tables change, ie new ones are added and names of some change from time to time. So idealy I would just have one class and when I request it I could pass in a symbol and it would map it to the correct table.
Thanks