locked
i have thesame issue when i create an entry of new record shows error of " Conflicting changes to the role 'Cust' of the relationship 'Model.FK_Market_Cust' have been detected." RRS feed

  • General discussion

  •  db.market.Create();
                TryUpdateModel(market, formvalues);
                
                if(ModelState.IsValid)
                {

              
                            return View("Create",Market); 
                        }
                     
                    db.market.Add(market);
                   
                    db.SaveChanges(HttpContext);
    Friday, March 9, 2012 4:40 AM