1
Answer

C# using linq to sql-add column to table

Ask a question
Sie Ste

Sie Ste

11y
2.2k
1
In a C# 2008/2010 desktop application, it uses linq to sql to point to a sql server 2008 r2 database.

I was told by the analysis group that a new column will be added in the middle of one of the tables. The table that is being accessed is used in my *.designer.cs file.

With the new column being added to a table, I am assuming that I will need to drag the table off of the designer surface and redrag the table back into the *.designer.cs surface to get the new column. Is this correct? (Note; my current code will not access this new code.)

If this is not correct, can you explain your answer to me?

Also is there a different way of how to add a column to a table that is already in the *.desginer.cs file?

If so, can you tell me how to add the add the extra column in another method?

Answers (1)