Most of the things you'll need to be aware are:
- query / queryMore pattern (is needed if you want to pull large sets of data from SalesForce)
- logging in / logging out - session management
- how to construct a wrapper class - there is some sample vb.net code you can download as well
So, if you're using SOQL to query your SalesForce data, then you need to filter on a SalesForce date field, you'll then need to format the date string. Here's one way to do it:
public static string FormatDateForQuery(DateTime dateToFormat, bool includeTime)
{
if (includeTime)
{
return dateToFormat.ToUniversalTime().ToString("yyyy-MM-ddTHH:mm:ss+00:00");
}
else
{
return dateToFormat.ToUniversalTime().ToString("yyyy-MM-dd");
}
}
Enroll for Salesforce certification now to fast forward your career!