entity framework update nested objects
问题 I am trying to perform an update through EF 6 and having trouble. I am relatively new to EF so please forgive me if the question is a bit dim. I am getting the following error When I try and update the instrument table: The entity type HashSet`1 is not part of the model for the current context. I think this is because of the nested objects. Does anyone know how to populate these? Thanks in advance. please see the code below of my update and model. try { var i = (from x in _entities.Instrument