CRM : Dynamic Entity

ho cominciate ad usarle da poco ma sono davvero molto potenti, per chi
sviluppa customizzazioni per il crm 3.0 è un argomento che non si puo' non conoscere
Esempio di utilizzo

Codice di esempio


public Guid CreateEntity(string entityName, Property[] properties)
{
DynamicEntity dynamicEntity = new DynamicEntity();

dynamicEntity.Name = entityName;

dynamicEntity.Properties = properties;

// Create the target.
TargetCreateDynamic targetCreate = new TargetCreateDynamic();
targetCreate.Entity = dynamicEntity;

// Create the request object.
CreateRequest create = new CreateRequest();

// Set the properties of the request object.
create.Target = targetCreate;

// Execute the request.
CreateResponse created =
(CreateResponse) m_CrmService.Execute(create);

return created.id;
}

posted @ giovedì 21 dicembre 2006 19:22

Print

Comments on this entry:

# re: CRM : Dynamic Entity

Left by he at 13/11/2014 17:39
Gravatar
rapidly provides mobile check your credit score major director huge credit report scores impact adaptability 7841
Comments have been closed on this topic.
«aprile»
domlunmarmergiovensab
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011