ADO.NET Provider for SugarCRM with Entity Framework Support

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

dotConnect for SugarCRM 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.

Work with SugarCRM Data Easily

dotConnect for SugarCRM makes it simple to create .NET applications, working with SugarCRM data. It offers standard ADO.NET interface, and thus it's easy to master it. It's powerful design-time editors together with seamless Visual Studio integration allow you to work with SugarCRM data with less efforts and less code writing. See how easy it is with dotConnect for SugarCRM.

Connecting to SugarCRM from Server Explorer

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

  1. Click Connect to Database on the Server Explorer toolbar
  2. Change Data Source to SugarCRM Data Source
  3. Specify the login url to the data source, your SugarCRM user id and password

That's all, now you can work with SugarCRM data right in Visual Studio - select data from SugarCRM entities and edit it.

 

 

SugarCRM Data Binding

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

 

Power of SQL

SELECT

INSERT

UPDATE

DELETE

dotConnect for SugarCRM allows you to perform SQL queries against your SugarCRM data. Use SQL statements to work with SugarCRM 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 SugarCRM data with SELECT statements and manage data with INSERT, UPDATE, and DELETE statements.

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.

Entity Framework Support

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

  • LINQ to Entities (no need for SugarCRM 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 SugarCRM provides enhanced Entity Framework support for SugarCRM 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.

How it Works

 

dotConnect for SugarCRM offers powerful local SQL engine for SELECT statement execution. It executes SQL statements in the following way:

Simple SQL statements are translated to SugarCRM API calls and executed on the SugarCRM side directly. However, dotConnect for SugarCRM also supports more advanced SQL features, such as SQL functions or expressions, complex WHERE conditions, joins, etc.

If you use these more advanced SQL features, dotConnect for SugarCRM queries all the data from the objects that participate in the query, and executes the statement locally.

How to Start

dotConnect for SugarCRM has a detailed documentation that can help you quickly get started with our product. Read our tutorials first:

Connect

Connecting to SugarCRM

This tutorial describes how to connect to SugarCRM either from Visual Studio Server Explorer or from application code via SugarConnection.

Read Tutorial

Retrieve

Retrieving SugarCRM Data

This tutorial describes how to get SugarCRM data with SugarCommand and SugarDataReader or with SugarDataAdapter.

Read Tutorial

Update

Updating SugarCRM Data

This tutorial describes how to manage SugarCRM data with SQL and the SugarCommand class or with the SugarDataAdapter class.

Read Tutorial

Customer Loyalty Program

You can get a significant discount, and even a free license, by spreading a word about dotConnect for SugarCRM.

Devart High Five Program for dotConnect for SugarCRM