Quantcast
Viewing all articles
Browse latest Browse all 8223

Casting InputParameters to early bound in Dynamics CRM

Hi All,

I am using developer toolkit for develop my project, and I am using "generate wrapper" feature for generate my entities class, how to cast InputParameters["Target"] in PluginContext to my entity class that generated by "generate wrapper" feature?

ex:

now i use:

Entity regional = (Entity)localContext.PluginExecutionContext.InputParameters["Target"];

how to cast to:

Account account = localContext.PluginExecutionContext.InputParameters["Target"] ???

please advise.

thanks.

-Rory.


Viewing all articles
Browse latest Browse all 8223

Trending Articles