Devart.Data.Salesforce 6.2.100

Prefix Reserved
dotnet add package Devart.Data.Salesforce --version 6.2.100
                    
NuGet\Install-Package Devart.Data.Salesforce -Version 6.2.100
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Devart.Data.Salesforce" Version="6.2.100" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Devart.Data.Salesforce" Version="6.2.100" />
                    
Directory.Packages.props
<PackageReference Include="Devart.Data.Salesforce" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Devart.Data.Salesforce --version 6.2.100
                    
#r "nuget: Devart.Data.Salesforce, 6.2.100"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Devart.Data.Salesforce@6.2.100
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Devart.Data.Salesforce&version=6.2.100
                    
Install as a Cake Addin
#tool nuget:?package=Devart.Data.Salesforce&version=6.2.100
                    
Install as a Cake Tool

NuGet Version NuGet Downloads Windows macOS Linux Docker Amazon (AWS) Microsoft Azure

Advanced C# Connection Provider for Salesforce

dotconnect_salesforce_cover_green

dotConnect for Salesforce is a high-performance ORM enabled data provider for Salesforce that builds on ADO.NET technology. It enables access to Salesforce CRM data in .NET applications through standard SQL queries—no Salesforce API or SOQL expertise required.

The provider works with .NET Frameworks, .NET Core, .NET.

It supports a wide range of Salesforce-specific features, including a powerful local SQL engine with SQL-92 support, full CRUD operations, complex JOIN queries, and multiple authentication methods. Package provides advanced Visual Studio integration and convenient visual component editors to simplify component tweaking.

More information at dotConnect for Salesforce.

Installation


  1. Install the NuGet Package
Install-Package Devart.Data.Salesforce
  1. Activate license
  • Free Trial License: Evaluate the full capabilities of dotConnect for Salesforce in a non-commercial environment—ideal for development and testing. Start your free trial
  • Commercial License: Deploy dotConnect for Salesforce in commercial applications and access full technical support with a valid license. Purchase a license

Work with EF Core


For projects, using Entity Framework Core with Salesforce, install the Devart.Data.Salesforce.EFCore package.

Compatibility


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

Frameworks Version support
.NET 10, 9, 8, 7, 6, 5
.NET Core 3.1, 3.0, 2.2, 2.1, 2.0
.NET Framework 4.8, 4.7, 4.6.2, 4.6.1

More information here

Key Features

  • SQL Access Without API Complexity: Query and manipulate Salesforce data using standard SQL statements—no need to learn SOQL or the Salesforce REST API. Use complex JOINs, WHERE conditions, aggregate functions, and more.
  • Full CRUD Operations: Perform INSERT, SELECT, UPDATE, and DELETE operations on Salesforce objects such as accounts, contacts, leads, and opportunities through familiar SQL syntax.
  • Full ADO.NET Compatibility: 100% compliant with ADO.NET standards, supporting key interfaces such as DbConnection, DbCommand, DataSet, and DataTable for seamless integration into .NET applications.
  • Powerful Local SQL Engine: Built-in SQL-92 compliant engine enables advanced query capabilities, including complex JOIN operations across Salesforce objects.
  • ORM Support: Works with Entity Framework Core, NHibernate, and Dapper, enabling code-first and model-first workflows with Salesforce data.
  • Flexible Authentication: Supports Username/Password, OAuth Refresh Token, and Interactive OAuth authentication methods for secure connectivity.
  • Broad Platform Compatibility: Fully compatible with .NET Framework, .NET Core, and .NET, including ASP.NET Core, Blazor, and .NET MAUI.
  • Visual Studio Integration: Accelerate development with data source connection wizards, database object explorer, and schema management tools—all embedded in Visual Studio.
  • Reliable Security: Advanced encryption and authentication via Security Token and OAuth 2.0 ensure secure access to your Salesforce data.
  • Priority Support and Continuous Improvement: Backed by dedicated technical support and regular updates that deliver security enhancements, feature improvements, and long-term stability.

Usage


To help you get started quickly, here's a simple code example demonstrating how to connect to Salesforce.

using Devart.Data.Salesforce;

class Program
{
  static void Main()
  {
    string connectionString = "" +
      "Authentication Type=UserNamePassword;" +
      "Host=salesforce.com;" +
      "User Id=user@company.com;" +
      "Password=**********;" +
      "Security Token=********************;" +
      "License Key=**********";

    using (SalesforceConnection connection = new SalesforceConnection(connectionString))
    {
      try
      {
        connection.Open();
        Console.WriteLine("Connection successful!");
      }
      catch (Exception ex)
      {
        Console.WriteLine($"Error: {ex.Message}");
      }
    }
  }
}

Basic Connection Strings

Property Meaning
Authentication Type Specifies the authentication method (e.g., UserNamePassword, OAuthInteractive, AccessRefreshToken).
Host Specifies the Salesforce login URL (e.g., salesforce.com or login.salesforce.com).
User Id Specifies the Salesforce account username.
Password Specifies the password for the user ID.
Security Token Specifies the Salesforce security token for access from untrusted networks.
License Key Specify your license key in this parameter.

For more detailed tutorials, API reference, and advanced examples, visit our Getting Started guide.

Support Area

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Devart.Data.Salesforce:

Package Downloads
Devart.Data.Salesforce.EFCore

dotConnect for Salesforce is an ADO.NET provider for working with Salesforce data through the standard ADO.NET interfaces. It allows you to easily integrate Salesforce data into your .NET applications, and integrate Salesforce services with widely used data-oriented technologies. The provider works with .NET Frameworks 4.5+, .NET Core 2.0+, .NET 5+. It 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. More information at https://www.devart.com/dotconnect/salesforce/ License See pricing options for ordering https://www.devart.com/dotconnect/salesforce/ordering.html The NuGet package initiates the retrieval of an activation key from the Devart website. This key is required to activate the product for a free trial. Key Features * Easy Connection: Allows your .NET application to work with Salesforce data. * SQL Engine: 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. * Support and updates: Enjoy dedicated support team for prompt issue resolution and regular updates to keep your software running smoothly and securely.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
6.2.100 33 5/25/2026
6.1.100 24 5/25/2026
6.1.72 226 4/23/2026
6.1.35 236 3/6/2026
6.1.33 234 2/24/2026
6.0.0 383 12/19/2025
5.3.290 298 7/30/2025
5.3.235 365 4/25/2025
5.3.193 387 2/11/2025
5.3.191 291 1/15/2025
5.3.190 289 12/27/2024
5.2.187 423 11/8/2024
5.2.21 377 6/6/2024
5.2.20 359 5/30/2024
5.1.10 387 1/18/2024
5.0.1 411 11/29/2023
5.0.0 256 11/17/2023