I often find it tedious writing something like the following: //Instantiate our ColumnSet with desired columns. ColumnSet cols = new ColumnSet() { Attributes = new string[] { "firstname", "lastname" } }; //Call the Retrieve method on crmService for our desired contact contact c = (contact)_crmService.Retrieve(EntityName.contact.ToString(), new Guid("7C0F232E-7F72-DE11-8397-0015C5E3FA2"), cols); Although we know the type we are [...]
July 23, 2009