I want get my tables name with LINQ
For Example I Have DB with 5 Table and i want show my tables name in a listBox
Then whith a Query I Add a Table then try again, now we have ListBox With 6 Items.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Your Linq to SQL DataContext already has the table names:
context.Mapping.GetTables()