I’m a big fan of unit testing your custom code to prevent errors from ever occuring in the system. However it is not unlikely that QA can still report an issue that is related to your custom code. You will have… Read More
I recently came across a program called LINQPad and decided to give it a try. What is LINQPad LINQPad is a software utility targeted at Microsoft .NET development. You can use the tool to write C# code without the need for an… Read More
Image you have an entity record and you would like to retrieve properties of some related entities. You can accomplish this in C# by using the LinkedEntities property of a QueryExpression. Let’s take the following example, we have a ‘zen_career’ record which is linked to… Read More
Prior to Microsoft Dynamics CRM 2015 (update 1) we had to use special messages when updating special fields. Those special fields include the record’s status (statecode, statuscode), the owner of the record (ownerid), etc. The full list of those special… Read More
Creating a record in Microsoft Dynamics CRM using C# is pretty straightforward. When you try to create a record together with some related records in the same request, you should use the RelatedEntities property of the parent entity (msdn). The RelatedEntities property requires the… Read More
Executing a Workflow from code requires a different approach than executing a custom action from code. This post describes why.