O'Reilly logo

Microsoft Dynamics CRM 2011 Application Design by Mahender Pal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Early bound classes

If you want to enjoy intelliSense support during development, you can use early bound classes. Microsoft CRM 2011 provides us with the ability to generate a class from its metadata, which includes all OOB and custom entity customization. Microsoft CRM SDK comes with a utility, CrmSvcUtil, that can be used to generate early bound classes. It creates a class file that includes strongly typed classes for all Microsoft CRM entities. This tool creates one class for each entity and provides intelliSense support during development.

You can refer to the following syntaxes to generate early bound classes depending on your deployment.

On-premise deployment

For on-premise deployment, use the following syntax:

CrmSvcUtil.exe /url:http://<servername>/<organizationname>/XRMServices/2011/Organization.svc ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required