コード例 #1
0
        public void DeleteAccountEntityById(string crmId)
        {
            if (crmId == null)
            {
                throw new ArgumentNullException("CRM id");
            }

            string url = crmWebApi.BuildQueryRequest(
                AccountEntity.EntityLogicalName,
                entityId: crmId
                );

            crmWebApi.DeleteQueryAPI(url);
        }