4

Is it possible to recreate an early bound CRM entity from a RemoteExecutionContext?

I've got messages in a Service Bus queue that are RemoteExecutionContext coming from CRM Online. I can happily get the late bound properties from the message if I cast as an Entity, but I'd rather work with an early bound object

Ian
  • 30,182
  • 19
  • 69
  • 107
SteveC
  • 15,808
  • 23
  • 102
  • 173
  • 3
    If I'm not mistaken, once you have casted the object as type Entity. You can call the Entity.ToEntity () method. In effect this is casting to the early bound Entity type. – Alessi Aug 27 '15 at 23:48
  • 2
    @Alessi 's answer is spot on. Add it as answer and i'll happily upvote it – Phil Kermeen Jul 04 '18 at 09:12

0 Answers0