Generate Early Bound Type Class file using CRMSVCutil.exe
To Generate Early Bound Type Class file used to reference CRM entity schemas in C# code.
To build the proxy file, you need to have the Microsoft Dynamics CRM 2011 SDK. In case you don’t have it please click here to download. TheEarly Bound Type Class file will be created in the bin folder of the SDK. The path should be something like:
C:\Microsoft Dynamics CRM 2011\SDK\bin
Below is the command to generate the proxy file. The text in green should be replaced by specifics from your environment.
CrmSvcUtil.exe /url:<Organization URL>/XRMServices/2011/Organization.svc /out:Entities.cs
The above command return the C# file in the above specified location with Entities.cs.