Hello guys ,
I wanted to know in general - when to use early binding and when to use late binding
For example , I want to create new record in Ms Crm by c# :
Code snippet 1 (Late binding) :
Entity e =new Entity();
e.LogicalName = "account";
e.Attributes["new_firstname"] = "data";
_serviceProxy.Create(e);
Code snippet 2 (Early binding) :
Account account = new Account { FirstName = "data" };
_serviceProxy.Create(account);
I would appreciate any suggestions regarding this.
Thanks ,
Om
*This post is locked for comments
I have the same question (0)