Execute

This method is used to create a request where we can specify an entity operation for which there is no direct method available. We should only use this method to perform entity operations that we do not have a direct method for.

All the preceding code can be used on the console application for demo purposes. Alternatively, you can download a quick-start sample application for Dynamics 365 CE at https://code.msdn.microsoft.com/Sample-Quick-start-for-650dbcaa.