dotConnect for Salesforce goes with three sample projects for both C# and Visual Basic. They demonstrate working with dotConnect for Salesforce classes, components, and technologies. You can use the dotConnect for Salesforce Start menu group to open samples in the language you prefer.
Sample | Description |
---|---|
ConsoleDemo | This sample project demonstrates using dotConnect for Salesforce in console applications. It shows how to get Salesforce data with SalesforceDataReader and SalesforceDataAdapter components, how to access Salesforce metadata via INFORMATION SCHEMA tables, and demonstrates using cache for offline data reading. As the connection string parameters are hardcoded in this sample, you need to replace sample user name, password, and security token with your actual Salesforce user account login parameters before running the sample. |
WebFormsDemo | This sample project demonstrates using dotConnect for Salesforce in web projects. It allows you to edit data of the Contact Salesforce table. You can view, add, delete, update records. |
WinFormsDemo | This sample project demonstrates working with Salesforce data in a Windows Forms application. It allows you to edit data of the Account Salesforce table. You can view, add, delete, update records. |