更新时间:2023-02-13 11:23:59
您必须将对象标记为已修改,以便将其提交到服务器. 请参见
You have to mark the object as modified in order to get it submitted to the server. See OrganizationServiceContext.UpdateObject (Entity)
您应该添加 crmContext.UpdateObject(contact);在crmContext.SaveChanges();
crmContext.UpdateObject(contact);
crmContext.SaveChanges();
如何在插件中使用LINQ更新CRM 2011实体?
如何在ASP.NET中使用LINQ to SQL更新和删除Gridview行
CRM 2011:如何更新创建插件中的记录?