I need to add some columns to a database as follows:
I keep a line of bd in a variable
Market novo = new market();
novo = context.Markets.where(blabla).First();
I change a column of the line
novo.ParentID = 50;
I'm trying to get the error message:
context.AddObject(novo); // da erro por causa da PrimaryKey