WRITTEN BY Patrick Verbeeten - 01 July 2007
This class is written for conversion of xml node values to a .NET type but can also be used to with plain strings. Accepts an XML node an returns strong type value of any convertible type
WRITTEN BY Patrick Verbeeten - 01 July 2007
The Crm 3.0 webservice is a great improvement on the 1.2 version but still due to the nature of webservices working with it can require some quite elaborate code. You need to instantiate the class, configure security, create a ColumnSet, add columns to the column set and finally execute the Retrieve method and cast its result. This results in about 10 lines of code for such a simple action. Using partial classes introduced in the .Net 2.0 framework you can extend the Webservice without lossing the easy of recreating the webproxy when you change or and a type. Using generics you can even enforce type safety at compiletime.