locked
CRM 4.0 - How to typecast an BusinessEntity? RRS feed

  • Question

  •  

    HI,

    We have an function with signature:

              Public Function ConvertBusinessEntityCollectionToXML(ByVal str_EntityName as String, ByVal crmRecords as BusinessEntityCollection) as String

    The problem i am facing is: How do i TYPECAST the BusinessEntity in BusinessEntityCollection to the Entity Name passed as "str_EntityName" i.e. we have to loop through each BusinessEntity in BusinessEntityCollection?

    Thanks,


    Sudhir C N
    Thursday, January 6, 2011 12:20 PM