dynamicentity

Creation of Dynamic Entities in MS CRM 4.0

Hey there I am trying to create a new contact using Dynamic Entity. The sample i found in CRM SDK had this code. // Set the properties of the contact using property objects. StringProperty firstname = new StringProperty(); firstname.Name = "firstname"; firstname.Value = "Jesper"; StringProperty lastname...

Retrieving Attribute names of an Entity in MS CRM 4.0

I am back again with another question on ms crm. The latest thing i am trying to do is retrieve the attribute name and type that exist in an entity, Dynamic Entity to be precise. I have the following code. DynamicEntity contactEntity = new DynamicEntity(); contactEntity.Name = EntityName.contact.ToString(); Property t = nu...