Skip to content
| Marketplace
Sign in
Visual Studio>Controls>dotConnect for Salesforce
dotConnect for Salesforce

dotConnect for Salesforce

Devart Software

|
2,973 installs
| (0) | Free Trial
ADO.NET provider for accessing data of the Salesforce.com cloud CRM and Database.com cloud database through the standard ADO.NET or Entity Framework interfaces
Download

Connect Salesforce Data With .NET Application Easily

dotConnect for Salesforce is an ADO.NET provider for working with Salesforce data through the standard ADO.NET or Entity Framework interfaces. It allows you to easily integrate Salesforce data into your .NET applications, and integrate Salesforce services with widely used data-oriented technologies.

dotConnect for Salesforce has the same standard ADO.NET classes as other standard ADO.NET providers: SalesforceConnection, SalesforceCommand, SalesforceDataAdapter, SalesforceDataReader, SalesforceParameter, etc. This allows you quickly get started with it and eliminates the need to study any Salesforce data access specificities.

dotConnect for Salesforce makes it simple to create .NET applications in C#, VB, or other languages, working with Salesforce data. It's powerful design-time editors together with seamless Visual Studio integration allow you to work with Salesforce data with less efforts and less code writing. See how easy it is with dotConnect for Salesforce.

Features

  • Access live Salesforce store data
  • Perform aggregations & JOINs for data analysis
  • Encrypted connections protect your data
  • Improves performance by processing queries locally
  • Simplifies data access with Entity Framework integration
  • Design EF models visually in your IDE
  • Streamlines development with design-time features
  • Simplifies data access and manipulation in Visual Studio

Compatibility

The following table show which version of this package to use with which version of frameworks.

Frameworks Version support
Entity Framework Core 9, 8, 7, 6, 5, 3, 2, 1
.NET 9, 8, 7, 6, 5
.NET Core 3, 2, 1
.NET Framework 4.8, 4.7, 4.6, 4.5

More information here

Usage

To establish a connection to server you have to provide some connection parameters to dotConnect for Salesforce. This information is used by the SalesforceConnection component to login with credentials of your account. The parameters are represented as connection string. You can compose the connection string manually or have dotConnect for Salesforce construct it for you.

You will need the following connection string parameters:

  • User Id
  • Password
  • Host
  • Security Token

Host specifies the login URL, which determines the service to connect to - Salesforce.com or Database.com. For example, login URL can be the following: "login.salesforce.com".

Security Token is an automatically generated key that is used for logging in to Salesforce from an untrusted network. To get your security token, login to SalesForce.com, go to Setup, and under "My Personal Information" click on Reset My Security Token. The security token will be delivered to the email address associated with your account.

This snippet directly configures a Salesforce connection using a connection string.

using Devart.Data.Salesforce;
...
SalesforceConnection salesforceConnection1 = new SalesforceConnection();
salesforceConnection1.Host = "login.salesforce.com";
salesforceConnection1.UserId = "name@company.com";
salesforceConnection1.Password = "mypassword";

Read the full documentation for connection here.

Creating Connection in Server Explorer

To create a Server Explorer connection, you just need to:

1. Click Connect to Database on the Server Explorer toolbar 2. If the Salesforce Data Source is not selected by default, click the Change button. 3. Select Salesforce Data Source (dotConnect for Salesforce) and click OK. 4. Specify the Salesforce API Path, your user id and authentication token.

Power of SQL

dotConnect for Salesforce allows you to perform SQL queries against your Salesforce data. Use SQL statements to work with Salesforce accounts, contacts, leads, contracts, products, campaigns opportunities, and other objects.

Our provider offers full CRUD (Create, Read, Update, and Delete) support and allows you to get Salesforce data with SELECT statements and manage data with INSERT, UPDATE, and DELETE statements.

No need to study and use complex Salesforce API, just use familiar SQL statements. You may use complex JOINs, WHERE conditions, etc. - all the SQL benefits, not available with Salesforce API.

Entity Framework Support

dotConnect for Salesforce allows you to access Salesforce data via Entity Framework - Microsoft's recommended data access technology. It supports Entity Framework and Entity Framework Core, and enables you to use the following Entity Framework features with Salesforce data:

  • LINQ to Entities (no need for Salesforce API)
  • Entity relations with lazy/eager loading
  • No need to post each edited/created object separately - a single SaveChanges() call to persist all the changed objects

dotConnect for Salesforce provides enhanced Entity Framework support for Salesforce data with a bundled visual designer for ORM models with Visual Studio integration - Entity Developer. Standard Visual Studio Entity Data Model designer is also supported.

Salesforce Data Binding

  • Build your data access layer without writing code manually
  • Configure dotConnect for Salesforce components in powerful design-time editors
  • Bind data grids and other controls to Salesforce data just by configuring the smart tags
  • Work with Salesforce data just like with a database

License

See pricing options for ordering.

Trial Limitations

The dotConnect for Salesforce Evaluation License lets you try dotConnect for Salesforce Trial Edition for a period of 30 days. You may not use applications developed using Trial versions of the Software for any commercial purposes.

Support Area

Documentation Request form Feedback page Product history

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft