📅  最后修改于: 2022-03-11 14:48:59.685000             🧑  作者: Mango
Entity recordToUpdate = service.Retrieve("contact", contactId, new ColumnSet(true));
recordToUpdate["parentcustomerid"] = new EntityReference("account", accountId);
service.Update(recordToUpdate);