Using CrmSvcUtil, you can also generate early bound request and response messages to facilitate the usage of the custom activity in your code. You can add custom action messages to your early bound generated classes using the /generateActions parameter, as shown in the following code snippet:
CrmSvcUtil.exe /namespace:Packt.Xrm.Extensions /out:EntitiesWithActions.cs /language:CS /serviceContextName:OrganisationServiceContext /il:true /generateActions