C# add a Table<T> into an existing DataContext Instance
问题 Is it possible that I can add Table<T> dynamiclly to an exisitng DataContext Insance in LinqToSQL? Here is my case: I have several classsed which are using [Test] attribute to declared as Table, I want to allow user to create the corresponding SQL Server tables during run-time. I understand that If I inherit the DataContext class, I can add member Table customers; in the class and it will automaticly create such a table at the backend database. However, the problem is that whether I can add