VOOZH about

URL: https://www.nuget.org/packages/Devart.Data.Sugar

⇱ NuGet Gallery | Devart.Data.Sugar 3.2.123




👁 Image
Devart.Data.Sugar 3.2.123

Prefix Reserved
dotnet add package Devart.Data.Sugar --version 3.2.123
 
 
NuGet\Install-Package Devart.Data.Sugar -Version 3.2.123
 
 
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.123" />
 
 
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.123" />
 
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.123
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Devart.Data.Sugar, 3.2.123"
 
 
#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.123
 
 
#: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.123
 
Install as a Cake Addin
#tool nuget:?package=Devart.Data.Sugar&version=3.2.123
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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

Advanced C# Connection Provider for SugarCRM

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.

Related Packages

Support Area

Product Versions Compatible and additional computed target framework versions.
.NET net5.0 net5.0 was computed.  net5.0-windows net5.0-windows was computed.  net6.0 net6.0 was computed.  net6.0-android net6.0-android was computed.  net6.0-ios net6.0-ios was computed.  net6.0-maccatalyst net6.0-maccatalyst was computed.  net6.0-macos net6.0-macos was computed.  net6.0-tvos net6.0-tvos was computed.  net6.0-windows net6.0-windows was computed.  net7.0 net7.0 was computed.  net7.0-android net7.0-android was computed.  net7.0-ios net7.0-ios was computed.  net7.0-maccatalyst net7.0-maccatalyst was computed.  net7.0-macos net7.0-macos was computed.  net7.0-tvos net7.0-tvos was computed.  net7.0-windows net7.0-windows was computed.  net8.0 net8.0 was computed.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
.NET Core netcoreapp2.0 netcoreapp2.0 was computed.  netcoreapp2.1 netcoreapp2.1 was computed.  netcoreapp2.2 netcoreapp2.2 was computed.  netcoreapp3.0 netcoreapp3.0 was computed.  netcoreapp3.1 netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 netstandard2.0 is compatible.  netstandard2.1 netstandard2.1 was computed. 
.NET Framework net461 net461 was computed.  net462 net462 was computed.  net463 net463 was computed.  net47 net47 was computed.  net471 net471 was computed.  net472 net472 was computed.  net48 net48 was computed.  net481 net481 was computed. 
MonoAndroid monoandroid monoandroid was computed. 
MonoMac monomac monomac was computed. 
MonoTouch monotouch monotouch was computed. 
Tizen tizen40 tizen40 was computed.  tizen60 tizen60 was computed. 
Xamarin.iOS xamarinios xamarinios was computed. 
Xamarin.Mac xamarinmac xamarinmac was computed. 
Xamarin.TVOS xamarintvos xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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.123 23 6/17/2026
3.2.100 221 5/25/2026
3.1.72 210 4/23/2026
3.1.35 223 3/6/2026
3.1.33 223 2/24/2026
3.0.0 367 12/19/2025
2.3.290 271 7/30/2025
2.3.235 337 4/25/2025
2.3.193 304 2/11/2025
2.3.191 307 1/15/2025
2.3.190 302 12/27/2024
2.2.104 303 11/8/2024
2.2.21 335 6/6/2024
2.2.20 315 5/30/2024
2.1.10 354 1/18/2024
2.0.0 401 11/17/2023