3
I need to update my application’s classes because it has a function in my controller that creates a new column:
public string ListarMapeamento()
{
banco.Database.ExecuteSqlCommand("ALTER TABLE RegrasMapeamento add Map_test3 varchar(255);");
return "";
}
Which class do you want to update? What information is there?
– CypherPotato
I want my file . edmx to take the new column from the bank, you understand?
– John Olsen
And it will compile again every time it changes?
– Leandro Angelo
Yes, that’s exactly it!
– John Olsen
Edit the question with code information that you use to include, delete, and export information from the table, class, and whatever you think you need to do this transaction as well. So we can help better.
– CypherPotato