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 17.22

Print

Comments on this entry:

# re: CRM : Dynamic Entity

Left by burberry at 12/11/2011 6.38
Gravatar
Thanks for posting this informative article.
http://www.jewelerystudio.co.uk/charms
http://www.burberrysalebaguk.com
FGDFG

Your comment:



 (will not be displayed)


 
 
 
Please add 6 and 8 and type the answer here:
 

Live Comment Preview:

 
«febbraio»
domlunmarmergiovensab
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910