Quantcast
Viewing latest article 18
Browse Latest Browse All 18

Created Release: MS CRM Query T4 Template Version 1.00 Beta (Jan 23, 2011)

Changes Since Version 0.85
  • Breaking Change: Changed the way that entity type codes constants are generated. Code Generation did not take into account that custom entity type codes may be different between CRM Organizations, so CrmTypeCodes static class has been renamed to SystemEntityTypeCodes and it only contains constants for system type codes.
  • Breaking Change: CrmService (and CrmMetadataService) are now set via the CrmDataContext Constructor, not directly through a property on the CrmDataContext interface.
  • Breaking Change: Added Metadata Service dependancy when setting the CrmService, Meaning that when the CrmService is set the CrmMetadataService also has to be set. This was necessary due to Entity Type codes for custom entities being different between orgainzations.
  • Breaking Change: Because Entity Type codes can vary between CRM organizations, when calling ToDynamicEntity() on an entity you must include the DataContext or provide a collection of entity type codes ListItems (which can be retrieved from the datacontext.EntityTypeCodes property which gets the entitytypecodes list from the an CRM organizations metadata)

  • Fixed: Made activitymimeattachmentavaialable for code generation so that attachments to activities can be done.
  • Fixed: Fixed Null to String Conversion problem.
  • Feature: Supports both CRMService and ICrmService, which means that you can now use the generated code from with plugins and workflow activities.
  • Feature: Two new constant list have been added, SystemEntityTypeNames and CustomEntityTypeNames which contain containts containing the logical names of each entity in the CRM organization.
  • Feature: Added GetPrimaryKeyValue() Method to retrieve primary key of an Entity for concenience
  • Feature: Added GetCrmLogicalName() Method to retrieve the logical name of an Entity for convenience.
  • Feature: On call to SubmitChange() you can now optionally specify if you want the submitted data to be refereshed or not (Default can be set in code generation usting RefreshEntitiesOnSubmit setting)
  • Feature: Overloads of ToDynamicEntity() added that allow you to optionally specify a target dynamic Entity instead of having one created for you.
  • Feature: Added FromDynamicEntity() Methods/Overloads that allow you to create an entity instance from a dynamic entity

Viewing latest article 18
Browse Latest Browse All 18

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>