Tuesday, 20 May 2014

CRM 2011 / 2013 Convert Late Bound Entity Class to Early Bound

In the plugin code, first you will get the Entity class :

// Obtain the target entity from the input parameters.
Entity entity = (Entity)context.InputParameters["Target"];

Sometimes, you need to have logic using Early Bound for this entity class for easier life.

Here you can achieve this :

//create target entity as early bound
Opportunity targetEntityEarlyBound = entity.ToEntity<Opportunity>();

*Opportunity is your Target Entity Class

Congratulation, now you can use the Early Bound for target entity on your plugin.


Hope it helps!


  1. This is a great article Worth Reading. It gave me a lot of Helpful information. We are Top Digital Marketing Company in Delhi | Digital Marketing Company in Noida | Digital Marketing Company in Lucknow.

  2. Great post I would like to thank you for the efforts you have made in writing this interesting and knowledgeable article. We are top CRM Software | CRM Software Mumbai | CRM Software Provider | CRM Software Pune | Field Management Software | CRM Software India

  3. EventTitans is the hybrid event management software where Event Interactions made Ever Powerful and Highly Flexible.Satisfy all of your event management needs with EventTitans, the comprehensive and innovative hybrid solution.
    virtual event platform
    event management software
    event engagement platform
    event website builder
    online event ticketing
    hybrid event platform
    event registration platforms


My Name is..