Not a very rocket science, but just something again that I don't want to type over and over again. So here's a piece of code that helps you to fetch the ObjectTypeCode based on the EntityName for CRM 3.0:private int GetObjectTypeCode (string entityName){ CrmMetaDataService.MetadataService metadataService = new CrmMetaDataService.MetadataService(); metadataService.Credentials =
Không có nhận xét nào:
Đăng nhận xét