Devart.Data.Sugar 3.2.100

Prefix Reserved
dotnet add package Devart.Data.Sugar --version 3.2.100
                    
NuGet\Install-Package Devart.Data.Sugar -Version 3.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.Sugar" Version="3.2.100" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Devart.Data.Sugar" Version="3.2.100" />
                    
Directory.Packages.props
<PackageReference Include="Devart.Data.Sugar" />
                    
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.Sugar --version 3.2.100
                    
#r "nuget: Devart.Data.Sugar, 3.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.Sugar@3.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.Sugar&version=3.2.100
                    
Install as a Cake Addin
#tool nuget:?package=Devart.Data.Sugar&version=3.2.100
                    
Install as a Cake Tool

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

Advanced C# Connection Provider for SugarCRM

dotconnect_sugarcrm_cover_green

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

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

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

More information at dotConnect for SugarCRM.

Installation


  1. Install the NuGet Package
Install-Package Devart.Data.Sugar
  1. Activate license
  • Free Trial License: Evaluate the full capabilities of dotConnect for SugarCRM in a non-commercial environment—ideal for development and testing. Start your free trial
  • Commercial License: Deploy dotConnect for SugarCRM 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 SugarCRM, install the Devart.Data.Sugar.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 SugarCRM data using standard SQL statements—no need to learn the SugarCRM REST API. Use complex JOINs, WHERE conditions, aggregate functions, and more.
  • Full CRUD Operations: Perform INSERT, SELECT, UPDATE, and DELETE operations on SugarCRM modules such as accounts, contacts, leads, and cases 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 beyond what the native SugarCRM API exposes.
  • ORM Support: Works with Entity Framework Core, NHibernate, and Dapper, enabling code-first and model-first workflows with SugarCRM data.
  • Username/Password Authentication: Straightforward connectivity to SugarCRM instances using server URL, User Id, and Password credentials.
  • 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 ensure secure access to your SugarCRM 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 SugarCRM.

using Devart.Data.Sugar;

namespace SugarConsoleApp
{
    class Program
    {
        static void Main(string[] args)
        {
            string host = "https://test.sugaropencloud.com";
            string userId = "test";
            string password = "test";
            string licenseKey = "**********";

            string connectionString = $"Host={host};User Id={userId};Password={password};License Key={licenseKey}";

            try
            {
                CheckConnectionStatus(connectionString);
            }
            catch (Exception ex)
            {
                Console.WriteLine("An error occurred: " + ex.Message);
            }
        }

        public static void CheckConnectionStatus(string myConnString)
        {
            using (SugarConnection sugarConnection = new SugarConnection(myConnString))
            {
                try
                {
                    sugarConnection.Open();
                    Console.WriteLine("Connection successful.");
                }
                catch (Exception ex)
                {
                    Console.WriteLine("Connection failed: " + ex.Message);
                }
            }
        }
    }
}

Basic Connection Strings

Property Meaning
Host Specifies the SugarCRM service URL.
User Id Specifies the SugarCRM login account username.
Password Specifies the password for the user ID.
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.Sugar:

Package Downloads
Devart.Data.Sugar.EFCore

dotConnect for SugarCRM is an ADO.NET provider for working with SugarCRM data through the standard ADO.NET interfaces. It allows you to easily integrate SugarCRM data into your .NET applications, and integrate SugarCRM 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: SugarConnection, SugarCommand, SugarDataAdapter, SugarDataReader, SugarParameter, etc. This allows you quickly get started with it and eliminates the need to study any SugarCRM data access specificities. More information at https://www.devart.com/dotconnect/sugarcrm/ License See pricing options for ordering https://www.devart.com/dotconnect/sugarcrm/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 SugarCRM data. * SQL Engine: No need to study and use complex SugarCRM API, just use familiar SQL statements. You may use complex JOINs, WHERE conditions, etc. - all the SQL benefits, not available with SugarCRM 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
3.2.100 215 5/25/2026
3.1.72 207 4/23/2026
3.1.35 221 3/6/2026
3.1.33 220 2/24/2026
3.0.0 365 12/19/2025
2.3.290 267 7/30/2025
2.3.235 336 4/25/2025
2.3.193 301 2/11/2025
2.3.191 304 1/15/2025
2.3.190 299 12/27/2024
2.2.104 300 11/8/2024
2.2.21 334 6/6/2024
2.2.20 313 5/30/2024
2.1.10 352 1/18/2024
2.0.0 401 11/17/2023