📜  c#动态365更新记录代码示例

📅  最后修改于: 2022-03-11 14:48:59.685000             🧑  作者: Mango

代码示例1
Entity recordToUpdate = service.Retrieve("contact", contactId, new ColumnSet(true));
recordToUpdate["parentcustomerid"] = new EntityReference("account", accountId);
service.Update(recordToUpdate);